[QFJ-127] quickfix performance Created: 24/Jan/07 Updated: 10/Feb/07 Resolved: 10/Feb/07 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.0.4 |
Fix Version/s: | None |
Type: | Other | Priority: | Default |
Reporter: | rohit | Assignee: | Steve Bate |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
test |
Description |
Hi Steve, say if I want currently I can't do it with QF. I have to use setField and addgroup methods. also I found another prb where the send and processmessage methods are synchronized. I guess this is done for sequence numbers. why do we want to lock the object by putting synchronized in the methods? pls advise. I am anyway going to change as per my requirements. Thanks for all the great help and support.. Cheers |
Comments |
Comment by Steve Bate [ 24/Jan/07 ] |
Hello Rohit, Can you add an issue attachment with your modified version of the Message class and your timing tests for message creation? I'm not sure I understand what you mean by adding fields as a list and why that would be faster. Have you done any profiling to understand the reason for the performance differences? I assume the processMessage method you are referencing is the one in SingleThreadedEventHandlingStrategy. It's not synchronized, so I'm guessing your concern is about the synchronized Session.next method. If so, you are correct that the synchronization is there to protect session state and ensure is visibility in mulththreaded, multiprocessor applications. What exactly is the problem? Are you having issues with processing high rates of simultaneously incoming and outgoing messages or something else? Steve |
Comment by rohit [ 31/Jan/07 ] |
Hi Steve, Thanks as always for the great support. Cheers. |
Comment by Sankalp Nayak [ 02/Feb/07 ] |
Hi Rohit Did you also tested the performance while retreiving the different tag-value pairs, ie the "fromString()" method . I guess moving from TreeMap to List may improve the creation performance but may significantly affect the retrieval performance esp if the groups are large in size . It would be interesting to profile that also . thanks |
Comment by Steve Bate [ 10/Feb/07 ] |
There have been some performance-related QFJ discussions on the QuickFIX (not QFJ) list. |