You are viewing a single comment's thread from:

RE: Steem Data Analysis: Who Withdraws Rewards vs Builds SP?

in Steem Dev10 months ago

Hi, thank you for your response. I didn't know about this repo: https://github.com/DoctorLai/steem-load-balancer, so I really appreciate you sharing it with me.

I actually built my own solution for load balancing as well. I also make sure to pass to the next API call only if the current one doesn’t fail.

As for finding accounts with withdrawn Steem Power (SP) and checking power-up status, I'm using the API from SteemWorld. It provides direct results within the data range I need.

I could implement the same solution using RPC, but it would return more results and take much longer to process, since there’s no method to directly fetch powered-up accounts or accounts without SP. I would need to use get_account_history with pagination and scan the data within the desired range.

Regarding load balancing, if I were to balance across all the RPCs, it would be quite a lot. There are 3,657,270 users, so calculating requests would look like this:

3,657,270 * 2 + 365,727 = a huge number of requests

Managing that many requests and handling the load balancing is a bit too much. Hosting this would likely result in my IP getting blocked eventually, which is why it feels frustrating.

Coin Marketplace

STEEM 0.06
TRX 0.28
JST 0.045
BTC 63228.17
ETH 1824.47
USDT 1.00
SBD 0.52