4 ms·
If all things are equal (as they appear to be here)), I would go with 0MQ if only for the lack of adding another server to manage and that hassle. However that
by SethMurphy 14y ago
If all things are equal (as they appear to be here)), I would go with 0MQ if only for the lack of adding another server to manage and that hassle. However that being said 0MQ is quite the black box and that offers it's own disadvantages.
I would be curious to see what would happen if gevent were added to the Python code.
- njharman 14y agoYou're still adding a server. But you have to write it first.
- SethMurphy 14y agoA Redis database would be a server in addition to the server you write in either case. 0MQ uses no server, it is just a library.
- stephen_mcd 14y agoIn the Python flavour of these tests there's no concurrency occurring within a single OS process, all the work is CPU bound - adding gevent wouldn't achieve anything. Also as njharman mentioned, you're still running a separate broker with zmq, so the number of components doesn't change.