|
From: Viswadeep <vis...@gm...> - 2018-04-27 17:32:36
|
Thanks! On a different note, I have few more questions. 1) Any known benchmarking. 2) How to collect metrics and fine tune. 3) Message durability (I do some db tables.). Thanks Viswadeep Viswadeep Veguru. On Thu, Apr 26, 2018 at 11:58 PM, Øyvind Matheson Wergeland < oyv...@om...> wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > That is correct, as long as you don't have to worry about that the > synchronizing internally in QF/J does not guarantee the message order under > contention, but should yield a higher throughput. See the fairness > discussion at https://docs.oracle.com/javase/7/docs/api/java/util/ > concurrent/locks/ReentrantLock.html > > > Best regards > > *Øyvind Matheson Wergeland* > CTO > > Mobile: (+47) 95 16 16 88 > E-mail: oyv...@om... > > *Oslo Market Solutions* > PO Box 4, 0051 Oslo, Norway > Telephone: (+47) 40 00 23 13 > www.oms.no > On 26/04/2018 22:15, Viswadeep wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > HI, > > I am doing one Fix Session case you expressed. > > "For sending messages on the same FIX session, you can have several > threads that dispatch messages, they will be sent in sequential order (note > that Session.send uses a lock with an unfair ordering policy)." > > This answers, I don't need to have an extra synchronized block before > dispatching (session.send()). > > > Thanks > Viswadeep > > Viswadeep Veguru. > > > On Thu, Apr 26, 2018 at 1:02 PM, Øyvind Matheson Wergeland < > oyv...@om...> wrote: > >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J <http://www.quickfixj.org/documentation/%0AQuickFIX/J> >> Support: http://www.quickfixj.org/support/ >> >> >> >> Could you elaborate on what you need to process concurrently? >> >> If you have more than one FIX session, you can set up QF/J to receive >> messages in each session with concurrent threads. >> >> For sending messages on the same FIX session, you can have several >> threads that dispatches messages, they will be sent in sequential order >> (note that Session.send uses a lock with an unfair ordering policy). >> >> In fromApp callback, you can dispatch messages to your own concurrent >> threads. But be careful with this, as a FIX message may relate to an >> earlier FIX message. >> >> Does this answer your question? >> >> >> Best regards >> >> *Øyvind Matheson Wergeland* >> CTO >> >> Mobile: (+47) 95 16 16 88 >> E-mail: oyv...@om... >> >> *Oslo Market Solutions* >> PO Box 4, 0051 Oslo, Norway >> Telephone: (+47) 40 00 23 13 >> www.oms.no >> On 26/04/2018 20:42, Viswadeep wrote: >> >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> Hi, >> I am new to quickfixj and trying to understand this API. Does it support >> concurrency? >> Thanks for any suggestions. >> Thanks >> Viswadeep >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> >> _______________________________________________ >> Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most engaging >> tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ Quickfixj-users mailing >> list Qui...@li... https://lists.sourceforge.net/ >> lists/listinfo/quickfixj-users > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > Quickfixj-users mailing lis...@li...://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > |