create account

High-Availability Hive API Proxy Announcement by deathwing

View this thread on: hive.blogpeakd.comecency.com
· @deathwing · (edited)
$22.16
High-Availability Hive API Proxy Announcement
### What is it?

The project itself isn't as glamorous as its name, but a few days ago I was thinking about potential downtimes for projects that cannot, for whatever reason, support auto node-switching.

Basically, if Project A is using Node A but then suddenly, Node A goes down, what do you do? Well, the project owner has to go and change the necessary settings and use Node B this time around. Yeah, they could have auto node-switching, but hey... Sometimes you can't.

I had a really easy idea on how to probably prevent this and decided on making an HAProxy setup to ensure stability and uptime over speed is also available to Hive users. With this in mind, I created `api.ha.deathwing.me` which is HAProxy currently balancing/checking three nodes `api.deathwing.me`, `hived.emre.sh` and `api.hive.blog`. I don't expect too much usage on this proxy, but if you are using it for whatever reason, please do let me know. I am planning to keep the server it's currently set up running for a quite long time.



### TL:DR:

If you don't have automatic node-switching for your project for whatever reason, feel free to utilize `api.ha.deathwing.me` as your node, which balances the load between 3 nodes at the moment and has constant health-checks. Will not use a node if it's down.

That's about it. Feel free to ask if you have any questions.

👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 131 others
properties (23)
authordeathwing
permlinkhigh-availability-hive-api-proxy-announcement
categoryhive-139531
json_metadata{"app":"peakd/2021.01.3","format":"markdown","tags":["hive","rpc","node","api"],"image":[],"users":[]}
created2021-01-30 13:00:24
last_update2021-01-30 13:01:00
depth0
children8
last_payout2021-02-06 13:00:24
cashout_time1969-12-31 23:59:59
total_payout_value11.836 HBD
curator_payout_value10.324 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,347
author_reputation269,081,450,536,201
root_title"High-Availability Hive API Proxy Announcement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,626,002
net_rshares83,762,234,541,001
author_curate_reward""
vote details (195)
@apshamilton ·
Great work!
All these little but important things contribute to ease of use, resilience and decentralisation.
properties (22)
authorapshamilton
permlinkre-deathwing-qnraf5
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2021.01.3"}
created2021-01-30 16:42:42
last_update2021-01-30 16:42:42
depth1
children0
last_payout2021-02-06 16:42:42
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_length109
author_reputation213,956,132,447,992
root_title"High-Availability Hive API Proxy Announcement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,628,603
net_rshares0
@brianoflondon ·
Can I use this for @podping posting 4000 custom_json per day?

Perhaps I can run my own version of this gateway?
👍  
properties (23)
authorbrianoflondon
permlinkre-deathwing-quyul3
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2021.06.2"}
created2021-06-19 20:36:39
last_update2021-06-19 20:36:39
depth1
children0
last_payout2021-06-26 20:36:39
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_length112
author_reputation760,655,352,092,696
root_title"High-Availability Hive API Proxy Announcement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id104,434,151
net_rshares0
author_curate_reward""
vote details (1)
@faithluck ·
Sure
properties (22)
authorfaithluck
permlinkre-deathwing-202124t162447524z
categoryhive-139531
json_metadata{"tags":["ecency"],"app":"ecency/3.0.12-mobile","format":"markdown+html"}
created2021-02-04 15:25:45
last_update2021-02-04 15:25:45
depth1
children0
last_payout2021-02-11 15:25:45
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_length4
author_reputation492,538,235,490
root_title"High-Availability Hive API Proxy Announcement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,711,827
net_rshares0
@good-karma ·
We do use HAproxy on rpc.ecency.com for some time, really great to have stability. However, We don't load balance, we add couple other nodes as backup, just in case our own instances have issue, [haproxy will switch to backup](https://www.haproxy.com/blog/failover-and-worst-case-management-with-haproxy/). I would suggest to do same, instead of separate endpoint, just use in main one and have other nodes as backup, all you need to do add `backup` into config. We did try load-balancing few months ago, it didn't work great especially when nodes have different versions...
properties (22)
authorgood-karma
permlinkre-deathwing-202124t61157434z
categoryhive-139531
json_metadata{"tags":["hive","rpc","node","api"],"app":"ecency/3.0.13-vision","format":"markdown+html"}
created2021-02-04 04:11:57
last_update2021-02-04 04:11:57
depth1
children0
last_payout2021-02-11 04:11:57
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_length574
author_reputation656,223,454,697,932
root_title"High-Availability Hive API Proxy Announcement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,704,637
net_rshares0
@hivebuzz ·
Congratulations @deathwing! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@deathwing/upvotes.png?202102080519"></td><td>You distributed more than 52000 upvotes.<br>Your next target is to reach 53000 upvotes.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@deathwing) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out the last post from @hivebuzz:**
<table><tr><td><a href="/hivebuzz/@hivebuzz/pud-202102-feedback"><img src="https://images.hive.blog/64x128/https://i.imgur.com/zHjYI1k.jpg"></a></td><td><a href="/hivebuzz/@hivebuzz/pud-202102-feedback">Feedback from the February 1st Hive Power Up Day</a></td></tr></table>
properties (22)
authorhivebuzz
permlinkhivebuzz-notify-deathwing-20210208t060208000z
categoryhive-139531
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2021-02-08 06:02:06
last_update2021-02-08 06:02:06
depth1
children0
last_payout2021-02-15 06:02:06
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_length956
author_reputation369,409,922,650,397
root_title"High-Availability Hive API Proxy Announcement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,772,739
net_rshares0
@hivetrending ·
Great idea! I'll try out your proxy api.ha.deathwing.me

What's the likelihood of the proxy going down?
properties (22)
authorhivetrending
permlinkre-deathwing-2021130t6413716z
categoryhive-139531
json_metadata{"tags":["hive","rpc","node","api"],"app":"ecency/3.0.13-vision","format":"markdown+html"}
created2021-01-30 14:41:39
last_update2021-01-30 14:41:39
depth1
children1
last_payout2021-02-06 14:41:39
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_length103
author_reputation73,922,382,271,315
root_title"High-Availability Hive API Proxy Announcement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,627,091
net_rshares0
@deathwing ·
Hopefully quite low. :)
properties (22)
authordeathwing
permlinkre-hivetrending-qnr501
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2021.01.3"}
created2021-01-30 14:45:39
last_update2021-01-30 14:45:39
depth2
children0
last_payout2021-02-06 14:45:39
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_length23
author_reputation269,081,450,536,201
root_title"High-Availability Hive API Proxy Announcement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,627,147
net_rshares0
@rishi556 ·
Someone finally did it. I've had this idea for a while but never did it. Awesome job man.
👍  
properties (23)
authorrishi556
permlinkre-deathwing-qnr4is
categoryhive-139531
json_metadata{"tags":["hive-139531"],"app":"peakd/2021.01.3"}
created2021-01-30 14:35:18
last_update2021-01-30 14:35:18
depth1
children0
last_payout2021-02-06 14:35:18
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_length89
author_reputation134,153,034,524,301
root_title"High-Availability Hive API Proxy Announcement"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id101,627,010
net_rshares103,928,489,390
author_curate_reward""
vote details (1)