-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve block processing time and GQL queries in uniswap-info-watcher (…
…#366) * Implement cache for latest updated entities to be used in mapping code * Get latest entity in frothy region from cache * Add logs for time breakup * Load relations according to GQL query * Implement distinctOn query to improve performance for suitable entity tables * Add metrics for cache and DB hits in event processing * Use cached entities for getFactory * Avoid use of a loop for power operation on big decimal * Use distinctOn queries for pool and token entities * Fix updating cache with pruned entities * Performance improvement for singular entity queries * Add metric for eth_calls made in event processing Co-authored-by: prathamesh0 <[email protected]>
- Loading branch information
1 parent
b4917fd
commit f0c71e2
Showing
14 changed files
with
953 additions
and
686 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.