Supporting Strategy in STEEM Load Balancer
I've implemented a feature to support different strategies in picking the node for load balancer:
https://github.com/DoctorLai/steem-load-balancer/pull/43/files
function getStrategyByName(name) {
switch (name) {
case "first":
return strategyFirst;
case "random":
return strategyRandom;
case "max_jussi_number":
return strategyMaxJussiNumber;
case "latest_version":
return strategyLatestVersion;
default:
throw new Error(`Unknown strategy name: ${name}`);
}
}
In the config.json
Steem to the Moon🚀!
- You can rent Steem Power via rentsp!
- You can swap the TRON:TRX/USDT/USDD to STEEM via tron2steem!
- You can swap the STEEM/SBD to SUI via steem2sui!
- You can swap the STEEM/SBD to SOL Solana via steem2sol!
- You can swap the STEEM/SBD to ETH Ethereum via steem2eth!
- You can swap the STEEM/SBD to Tether USDT (TRC-20) via steem2usdt!
- You can swap the STEEM/SBD to TRX (TRON) via steem2trx!
- You can swap the STEEM/SBD to BTS (BitShares) via steem2bts!
- Register a free STEEM account at SteemYY!
- Steem Block Explorer
- ChatGPT/Steem Integration: You can type !ask command to invoke ChatGPT
- Steem Witness Table and API
- Other Steem Tools
Support me, thank you!
Why you should vote me? My contributions
Please vote me as a witness or set me as a proxy via https://steemitwallet.com/~witnesses
Wow, @justyy, this is exactly the kind of innovation the Steem blockchain thrives on! Diving deep into the load balancer and offering different node-picking strategies is a HUGE step forward. I especially appreciate the flexibility you're adding with the
first
,random
,max_jussi_number
, andlatest_version
options. That level of control is fantastic.The clear code snippets and config.yaml example make it easy to understand the implementation. This is a valuable contribution for anyone running or relying on Steem infrastructure. Keep up the incredible work! I am resteeming this!
What strategy are you finding to be the most effective in your testing? I'm curious to hear more about real-world performance!