|
From: Florian L. <fl...@un...> - 2020-09-10 08:55:22
|
Hi everyone I'm a new user of Quickfix/j and so far the implementation is going well, but now that I started performance testing I realized that it isn't my code in the fromApp calls that is losing time, but it's actually that between every fromApp call I'm losing around 20ms, which limits my throughput to under 50msg/s. I see this by logging at the beginning and at the end of every fromApp call, which shows clearly that the time is lost between the calls and not during the method execution. Can anyone tell me what I might be doing wrong or how I can get Quickfix/j not to pause for 20ms between consecutive fromApp calls, but follow one fromApp call immediately after the last has terminated? Or is there any way to parallelize the fromApp calls (even though the messages all arrive via the same session)? 2020-09-10 09:00:33.210 INFO 12184 --- [QFJ Message Processor] MyApp : startFromApp 2020-09-10 09:00:33.210 INFO 12184 --- [QFJ Message Processor] MyApp : endFromApp 2020-09-10 09:00:33.230 INFO 12184 --- [QFJ Message Processor] MyApp : startFromApp 2020-09-10 09:00:33.230 INFO 12184 --- [QFJ Message Processor] MyApp : endFromApp 2020-09-10 09:00:33.250 INFO 12184 --- [QFJ Message Processor] MyApp : startFromApp 2020-09-10 09:00:33.250 INFO 12184 --- [QFJ Message Processor] MyApp : endFromApp 2020-09-10 09:00:33.270 INFO 12184 --- [QFJ Message Processor] MyApp : startFromApp 2020-09-10 09:00:33.270 INFO 12184 --- [QFJ Message Processor] MyApp : endFromApp 2020-09-10 09:00:33.290 INFO 12184 --- [QFJ Message Processor] MyApp : startFromApp 2020-09-10 09:00:33.290 INFO 12184 --- [QFJ Message Processor] MyApp : endFromApp Thanks for your help and best regards, Florian |