I need to transfer financical data between two process (currently c++ and c#, in future c++ and c++ on Linux). It's live quotes - something like 1 100, 1 100.1, 2 101.2 end so on.). Data has well-defined format. Latency must be low. I'm choosing between zeromq and using shared memory myself. I have couple questions about zeromq:
- will it be less buggy and easier to use zeromq instead of using shared memory myself?
- if zeromq latency on localhost is comparable with the latency of shared memory?
I don't need to run my parts on different hosts or something like that. So I have one producer-one consumer pattern on localhost. I'm just not sure if I should use zeromq for such simple scenario, or probably i should just use shared memory and that's it?