[zeromq-dev] Question about ROUTER queue (what if client dies)
Alexey Komarov
alexey at komarov.org.ru
Fri Jul 18 19:35:58 CEST 2014
Hi,
I have implemented Simple Pirate Pattern, it works perfectly, but I
would like to understand one thing: what if client dies immediately
after request. As I see it's not a problem for ROUTER, the send
operation does not return any error.
But what happens with this message(s) sent to nowhere? As I understand
they fall into a queue or a buffer but I don't understand how long they
are stored there. What if I have a lot a real big message or a lot of
died clients? Can these useless messages overflow queue and broke
interaction between my broker and other clients?
Thanks,
Alexey
More information about the zeromq-dev
mailing list