If you run an ethereum scraper with calls such as web3.eth.getBalance or token.balanceOf, you should watch this video to learn how to optimize your query to get 2000x performance for your Dapp with Solidity.
The idea is to write a view solidity function that can return all necessary data for you.
Video
Code: https://github.com/rstormsf/ico_per_week/tree/004_eth_call_batch
