[zeromq-dev] Reliable pub sub on c++ linux
Pieter Hintjens
ph at imatix.com
Mon Apr 27 21:56:24 CEST 2015
You can increase the HWM on sender and receiver to match your expectations.
If you set the HWM to zero there will never be any message loss, which
also means your publisher will explode if the subscriber stops
reading.
On Mon, Apr 27, 2015 at 9:03 PM, Peter Krey <krey at ripple.com> wrote:
> Hi,
>
> What is the best way to get guaranteed in order delivery over pub-sub
> framework in zmq using c++ on linux?
>
> I have a test server and client running zmq pub and sub sockets. The pub
> pushes sequence numbers as fast as possible in a tight loop. The sub socket
> misses around one in every 10k messages.
>
> Thanks
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list