[zeromq-dev] planning ahead for message durability
Chuck Remes
cremes.devlist at mac.com
Mon Nov 14 15:39:36 CET 2011
On Nov 14, 2011, at 8:24 AM, Sagi Mann wrote:
> Hi all,
>
> I read the planning page, explaining that if I use a deprecated feature, I should contact this list, so here I am :^)
>
> I am looking for a way to reduce the chance of message loss in case I need to shutdown a client here and there. Currently, I use durable subs. If in future versions I should not be using durable subs, then what is the long term solution?
You should take a look at the 'titanic pattern' in the 0mq guide [1]. It is probably your best bet for reliably queueing data across your system, handling crashes, restarts, etc. Improvements to the pattern are welcome.
cr
[1] http://zguide.zeromq.org/page:all#Disconnected-Reliability-Titanic-Pattern
More information about the zeromq-dev
mailing list