BitShares Forum

Main => 中文 (Chinese) => Topic started by: alt on July 30, 2014, 06:07:06 am

Title: Delegate双机热备方案2(BitSuperLab 出品)
Post by: alt on July 30, 2014, 06:07:06 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
这种方案比较复杂一点,做了心跳检测,比较双方的状态数据,根据规则选择一台生产。
Title: Re: Delegate双机热备方案2(BitSuperLab 出品)
Post by: hiver on July 30, 2014, 06:46:34 am
这个方案好点。
Title: Re: Delegate双机热备方案2(BitSuperLab 出品)
Post by: newtree on July 30, 2014, 07:32:33 am
支持下,这样方便多了。
Title: Re: Delegate双机热备方案2(BitSuperLab 出品)
Post by: bitshare007777 on July 30, 2014, 07:55:03 am
alt辛苦了,大热天的,送你100btsx = 一杯冷饮     已发往 bitsuperlab ;)
Title: Re: Delegate双机热备方案2(BitSuperLab 出品)
Post by: alt on July 30, 2014, 09:27:59 am
alt辛苦了,大热天的,送你100btsx = 一杯冷饮     已发往 bitsuperlab ;)
多谢啦  :D