Python: OpenMPI Vs. Rabbitmq

Suppose it is interesting to write an application pythonwhere there should be a connection between different processes. Communication will be done by sending arrays stringsand / or numpy.

What are some considerations to prefer OpenMPIover a tool like RabbitMQ?

+5
source share
2 answers

There is no single correct answer to such a question. It all depends on a large number of different factors. For instance:

  • What is your connection? Are you sending large packets or small packets, do you need good bandwidth or low latency?
  • What delivery guarantees do you need?
  • OpenMPI , MQ -.
  • ? , - ZeroMQ, , . , . . OpenMPI infiniband/mirynet.
  • ? MPI , , , .
+12

, , AMQP RabbitMQ, , memcache .

AMQP - JSON, (, ) . JSON JSON, Python. , { "recordid": "272727" } - JSON . Python dict, Python .

AMQP, memcache, . Redis Tokyo Tyrant . , , .

, Python AMQP ZeroMQ . , OpenMPI, AMQP, .

, , , , . AMQP, , , , , , , . 15 , 4 8 .

+4
source

All Articles