Hi all,
As you know when using PUB/SUB model the order of arrival of messages at
SUB-side cannot be garantueed and generally speaking, the SUB will receive
messages out of order. This is a well known problem, see e.g.:
  https://cloud.google.com/pubsub/docs/ordering

My question is: in case in the SUB you need strict time ordering, are you
aware of any good C++ implementation of a reordering queue?

I used for other purposes moodycamel's queue (
http://moodycamel.com/blog/2013/a-fast-lock-free-queue-for-c++) which is
thread-safe but it does not perform time-reordering.

Thanks!

Francesco
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to