- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm working on a message processing application that needs to process list of message with lowest latency but also handle message rates up to 40k per sec. Each message with a certain topic must be processed in order. But different topic messages can be processed in parallel.
Current approach i'm using is to use pipeline in outer loop which has 3 stages - input queuing, parsing message and separating by topic and processing stage. Each filter is run serially and processing filter does parallel_for to process topics in parallel.
This seems to be working but single pipeline is not processing fast enough causing latency on messages in input queue. Would multiple pipeline help where input data is split into 4 and then fed into 4 pipeline. So certain set topics will be processed by different pipeline. This would mean some preparsing would need to be done before hand. Let me know if there are any other suggestions.
David
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page