Quote from: alt on July 30, 2014, 05:53:35 AM
here is another solution for hot standby, detected with a heartbeat signal.
master and slave exchange some data in real time, include: blockchain_head_block_num, network_num_connections.
they'll change block production flag automatic, depend on a rule to select which one should active.
we use a pusher service from PubNub to exchange data, this can avoid open a public service, and can still run behind a tor net.
so you need to register a free account in PubNub if you decide to use this. the demo account maybe not stable.
here is the command
这种方案比较复杂一点,做了心跳检测,比较双方的状态数据,根据规则选择一台生产。