[QFJ-156] Is MINA (using java NIO) good for streaming applications Created: 12/Mar/07 Updated: 10/Apr/07 Resolved: 10/Apr/07 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | 1.0.5 |
Fix Version/s: | None |
Type: | Other | Priority: | Default |
Reporter: | rohit | Assignee: | Steve Bate |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Environment: |
test |
Description |
Hi Steve, Thanks for your help. |
Comments |
Comment by rohit [ 12/Mar/07 ] |
This is for an acceptor which streams market data. |
Comment by Steve Bate [ 13/Mar/07 ] |
How are you measuring the relative latency between NIO and blocking IO? Are you setting TCP_NODELAY? Are you wanting to process 25000 msg/sec (500 users x 500 msg/sec) with a single QFJ process? To anything close to that performance, I'd recommend studying the QFJ acceptor implementation and MINA. There are tuning options that might be useful for your application that are currently not directly supported by QFJ (but could be added). Which acceptor implementation are you using (single thread or thread-per-session)? |
Comment by rohit [ 13/Mar/07 ] |
1) I am running couple of worker clients that initiate 50 fix client sessions per worker and check the delay between current time the fix sending time. Could you pls. advise some of the tuning options to achieve better results? Thanks for the quick response. |
Comment by rohit [ 13/Mar/07 ] |
Hi Steve, |
Comment by Steve Bate [ 10/Apr/07 ] |
Hi rohit, I saw your questions in the MINA list. If I understand them correct, we are doing what they suggested to minimize latency. |