3 ms·
Just out of interest, if you're going to need to talk between C#, C++ and Python, why not just use HTTP and JSON? Unless you have truly crazy performance requir
by simonw 16y ago
Just out of interest, if you're going to need to talk between C#, C++ and Python, why not just use HTTP and JSON? Unless you have truly crazy performance requirements that should be more than fast enough for most purposes, and it's really easy to work with (debug in the browser etc).
- deleted 16y ago[deleted]
- zedshaw 16y agoZeroMQ is easier than HTTP. Much, much easier. Take it from a guy who has actually written a web server that also uses 0MQ.
- mey 16y agoHTTP is designed for a single request, single response in order. ZeroMQ messages can be sent without waiting for each messages response, thus a single socket connection can push drastically more information then a single http connection (not that you are limited to a single http connection). Connection Pooling HTTP starts bringing in a lot of overhead, but doesn't provide some of the other features ZeroMQ does (multi-honed etc) without some additional effort (load balancers on the network). I've personally been pondering a variation of JSON-RPC that operates over a TCP socket not over the HTTP layer.