create account

RE: Building a high availability steemd node for web apis by bitcoiner

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @jesta/building-a-high-availability-steemd-node-for-web-apis

· @bitcoiner ·
$0.05
Thanks, @jesta! This will be helpful to all devs! Quick question - why clone the repo twice and build separately? Can we instead just build once and duplicate the whole folder, all built? This will save time on building.
👍  
properties (23)
authorbitcoiner
permlinkre-jesta-building-a-high-availability-steemd-node-for-web-apis-20160808t215819367z
categorysteem
json_metadata{"tags":["steem"],"users":["jesta"]}
created2016-08-08 21:58:21
last_update2016-08-08 21:58:21
depth1
children4
last_payout2016-09-08 11:14:51
cashout_time1969-12-31 23:59:59
total_payout_value0.048 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length220
author_reputation28,017,014,641,958
root_title"Building a high availability steemd node for web apis"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id691,429
net_rshares79,672,196,166
author_curate_reward""
vote details (1)
@jesta ·
You absolutely could (in fact I did that as well). I just wanted to outline a bullet proof way to make it work. I've had issues with the blockchain getting corrupted when I `cp -r` the whole folder to another location, and didn't want others to encounter the same problem :)
👍  
properties (23)
authorjesta
permlinkre-bitcoiner-re-jesta-building-a-high-availability-steemd-node-for-web-apis-20160808t220000878z
categorysteem
json_metadata{"tags":["steem"]}
created2016-08-08 22:00:00
last_update2016-08-08 22:00:00
depth2
children3
last_payout2016-09-08 11:14:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length274
author_reputation140,605,453,893,072
root_title"Building a high availability steemd node for web apis"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id691,456
net_rshares0
author_curate_reward""
vote details (1)
@bitcoiner ·
Haha, maybe the config and make puts the absolute path into the artifacts? Anyway, love nginx and steemstats!! Thanks for all the hard work
properties (22)
authorbitcoiner
permlinkre-jesta-re-bitcoiner-re-jesta-building-a-high-availability-steemd-node-for-web-apis-20160808t220854504z
categorysteem
json_metadata{"tags":["steem"]}
created2016-08-08 22:08:57
last_update2016-08-08 22:08:57
depth3
children0
last_payout2016-09-08 11:14:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length139
author_reputation28,017,014,641,958
root_title"Building a high availability steemd node for web apis"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id691,624
net_rshares0
@bitcoiner ·
What about taking a snapshot of the final VPS, then spawn a few instances of it and load balancing *those*? Then there'll be multiple nginx nodes, and the setup with have even higher availability!! =D  This way, there won't be a case of possible failure of nginx, otherwise that would be  the point of failure.
properties (22)
authorbitcoiner
permlinkre-jesta-re-bitcoiner-re-jesta-building-a-high-availability-steemd-node-for-web-apis-20160808t223422913z
categorysteem
json_metadata{"tags":["steem"]}
created2016-08-08 22:34:24
last_update2016-08-08 22:34:24
depth3
children1
last_payout2016-09-08 11:14:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length310
author_reputation28,017,014,641,958
root_title"Building a high availability steemd node for web apis"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id692,050
net_rshares0
@jesta · (edited)
I was actually doing this while I was mining a few weeks ago, it worked pretty well. And yes, this would increase availability even further, though it would get pricey pretty fast!

You also have to consider that if you use multiple nginx nodes and proxy them to different servers, all of the bandwidth will be multiplied by the proxy. Not a problem though if you're using internal networking, since most providers don't charge for it.
properties (22)
authorjesta
permlinkre-bitcoiner-re-jesta-re-bitcoiner-re-jesta-building-a-high-availability-steemd-node-for-web-apis-20160808t224028413z
categorysteem
json_metadata{"tags":["steem"]}
created2016-08-08 22:40:27
last_update2016-08-08 22:41:36
depth4
children0
last_payout2016-09-08 11:14:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length435
author_reputation140,605,453,893,072
root_title"Building a high availability steemd node for web apis"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id692,129
net_rshares0