Sign inSign up

justyy/steem-load-balancer

By justyy

•Updated 24 days ago

Steem RPC Load Balancer Node: https://github.com/DoctorLai/steem-load-balancer

Image
Networking
API management
Web servers
1

2.5K

justyy/steem-load-balancer repository overview

Repo: https://github.com/doctorlai/steem-load-balancer⁠

The Steem Load Balancer is a Node.js-based application designed to distribute API requests across a list of predefined Steem Blockchain RPC Nodes. It enhances application availability and reliability by routing requests to the most responsive node.

This project was developed by STEEM's Top Witness, @justyy, who also established Two STEEM Load Balancer RPC Nodes, steem.justyy.com (New York) and api.steemyy.com (London), using this project as its foundation.

⁠Step 1

docker pull justyy/steem-load-balancer:latest

⁠Step 2

Edit the config.yaml, see https://github.com/DoctorLai/steem-load-balancer/blob/main/config.yaml⁠

⁠Step 3

# Run the steem load balancer node with restart policy
STEEM_LB_PORT=443
RETRY_COUNT=3

docker run \
    -e NODE_ENV=production \
    -e SSL_CERT_PATH=$SSL_CERT_PATH \
    -e SSL_KEY_PATH=$SSL_KEY_PATH \
    -e STEEM_LB_VERSION=$STEEM_LB_VERSION \
    -e DEBUG=false \
    --name steem-load-balancer \
    --restart on-failure:$RETRY_COUNT \
    -p $STEEM_LB_PORT:9091 \
    -v /root/.acme.sh/:/root/.acme.sh/ \
    justyy/steem-load-balancer:latest

## or simply
./run.sh # or ./restart.sh

Tag summary

Content type

Image

Digest

sha256:b6aa46e5e…

Size

64.5 MB

Last updated

24 days ago

docker pull justyy/steem-load-balancer