Skip to content

Subscribe to supply/borrow events rather than full update in Worker #54

Open
@haydenshively

Description

@haydenshively

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    architectureChanges that result in better architecture or typingperformanceChanges that result in more speed or efficiencyv3

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions