Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Delegate双机热备方案2(BitSuperLab 出品)  (Read 492 times)

0 Members and 1 Guest are viewing this topic.

Offline alt

Delegate双机热备方案2(BitSuperLab 出品)
« 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
这种方案比较复杂一点,做了心跳检测,比较双方的状态数据,根据规则选择一台生产。
« Last Edit: July 30, 2014, 06:10:45 AM by alt »

Offline hiver

  • Full Member
  • ***
  • Posts: 76
    • View Profile
Re: Delegate双机热备方案2(BitSuperLab 出品)
« Reply #1 on: July 30, 2014, 06:46:34 AM »
这个方案好点。

Offline newtree

Re: Delegate双机热备方案2(BitSuperLab 出品)
« Reply #2 on: July 30, 2014, 07:32:33 AM »
支持下,这样方便多了。
BTS ID:newtree/baicai 
微信公众号:hellobts
网站:www.hellobts.com

Offline bitshare007777

  • Full Member
  • ***
  • Posts: 88
    • View Profile
Re: Delegate双机热备方案2(BitSuperLab 出品)
« Reply #3 on: July 30, 2014, 07:55:03 AM »
alt辛苦了,大热天的,送你100btsx = 一杯冷饮     已发往 bitsuperlab ;)

Offline alt

Re: Delegate双机热备方案2(BitSuperLab 出品)
« Reply #4 on: July 30, 2014, 09:27:59 AM »
alt辛苦了,大热天的,送你100btsx = 一杯冷饮     已发往 bitsuperlab ;)
多谢啦  :D

 

Google+