[zeromq-dev] The Clone Pattern
sustrik at 250bpm.com
Tue Nov 22 08:52:44 CET 2011
> 1. All the data collecting processes need to know the cache server has
> died and restarted, and get all data it owns from the external data
> sources (very expensive operation) and pushes them to the cache server.
The server can notify the collectors about the fact that it have been
restarted by sending them a message.
> 2. Before the cache server is fully recovered, it should not accept any
> requests from clients.
Don't open the sockets responsible for serving the client requests until
the recovery is done.
More information about the zeromq-dev