Suppose that one is interested to write a python
app where there should be communication between different processes. The communications will be done by sending strings
and/or numpy
arrays.
What are the considerations to prefer OpenMPI
vs. a tool like RabbitMQ
?
There is no single correct answer to such question. It all depends on a big number of different factors. For example:
ZeroMQ
would probably be the fastest. If you are running on the set of hosts, depends on the interconnections available. E.g. OpenMPI can utilize infiniband/mirynet links.