Subscribe to supply/borrow events rather than full update in Worker #54
Labels
architecture
Changes that result in better architecture or typing
performance
Changes that result in more speed or efficiency
v3
Milestone
Even pulling from the local Geth node takes ~2 seconds for 50 accounts. This is horribly slow. If we subscribe to supply and borrow events and update on an as-needed basis, rather than re-loading all data for every account every time, we can speed things up substantially and increase the number of accounts that we're watching (e.g. take it from 50 -> 5000)
The text was updated successfully, but these errors were encountered: