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

Historical backfill performance improvements #371

Closed
morgsmccauley opened this issue Nov 7, 2023 · 0 comments · Fixed by #379
Closed

Historical backfill performance improvements #371

morgsmccauley opened this issue Nov 7, 2023 · 0 comments · Fixed by #379
Assignees

Comments

@morgsmccauley
Copy link
Collaborator

The historical backfill process will first gather all related block heights, and then push them to Redis. The former can take 10+ minutes, causing a large delay between publishing the Indexer, and actually seeing Historical block executions.

Redis messages should be published as soon as they are available so that historical execution can happen as soon as possible.

Additionally, we should investigate the use of near-lake-framework within the Historical thread. Currently, we fetch then process each block sequentially. Using Near Lake framework will allow us to pre-fetch X amount of blocks ahead, allowing us to speed up this portion.

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 a pull request may close this issue.

1 participant