Search code examples
zeromqdistributed-systemlow-latency

How to prefetch message in ZeroMQ


Is there any way to receive multiple messages at once call recv in ZeroMQ like in rabbitmq? I don't find any document mention it.


Solution

  • Q : Is there any way to receive multiple messages at once call recv in ZeroMQ like in rabbitmq?

    No, there is not.

    Unless you re-factor ZeroMQ Architecture to a principally new shape and fashion, so as to become more like a RabbitMQ.