HiTom,

> 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.

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to