Hi Lucas, > The pattern works perfectly under normal operation. However, it breaks > down badly if I kill the workers mid-batch and restart them again after > the client has begun retrying. The workers reconnect and begin to > receive defunct jobs from the older client socket(s) which the client > has abandoned. The workers spend time processing these defunct jobs > before getting to the new, valid jobs, and so can never catch up to live > jobs which the client is waiting on.
AFAIU, what you need is req/rep sockets to drop requests from clients that no longer exist, right? See also here: https://zeromq.jira.com/browse/LIBZMQ-190 Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
