Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve block processing time and GQL queries in uniswap-info-watcher #366

Merged
merged 12 commits into from
Oct 4, 2022

Conversation

nikugogoi
Copy link
Collaborator

@nikugogoi nikugogoi commented Sep 26, 2022

Part of cerc-io/watcher-ts#190 and cerc-io/watcher-ts#191

  • Use latest updated entities in cache from pruned region in event processing
  • Use latest updated entities in cache from frothy region in event processing
  • Implement DISTINCT ON query to improve performance for suitable entity tables
  • Avoid use of loop for power operation on big decimal in mapping code
  • Performance improvement for singular entity queries
  • Add metrics for cache and DB hits, eth_calls in event processing

@nikugogoi nikugogoi self-assigned this Sep 26, 2022
@nikugogoi nikugogoi changed the title Implement cache for latest updated entities to be used in mapping code [WIP] Implement cache for latest updated entities to be used in mapping code Sep 26, 2022
@nikugogoi nikugogoi changed the title [WIP] Implement cache for latest updated entities to be used in mapping code [WIP] Implement cache for latest updated entities to be used in event processing Sep 27, 2022
@nikugogoi nikugogoi force-pushed the ng-cache-updated-entities branch from 0a6c00b to 9463638 Compare September 27, 2022 06:52
@nikugogoi nikugogoi changed the title [WIP] Implement cache for latest updated entities to be used in event processing [WIP] Improve block processing time and GQL queries in uniswap-info-watcher Sep 29, 2022
@nikugogoi nikugogoi force-pushed the ng-cache-updated-entities branch from 036af68 to 0524514 Compare September 30, 2022 06:06
@prathamesh0 prathamesh0 changed the title [WIP] Improve block processing time and GQL queries in uniswap-info-watcher Improve block processing time and GQL queries in uniswap-info-watcher Oct 4, 2022
@ashwinphatak ashwinphatak merged commit f0c71e2 into vulcanize:main Oct 4, 2022
@ashwinphatak ashwinphatak deleted the ng-cache-updated-entities branch October 4, 2022 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants