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 <k...@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@lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to