-
Notifications
You must be signed in to change notification settings - Fork 179
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
[Access] Index Execution Data #4653
Conversation
FVM Benchstat comparisonThis branch with compared with the base branch onflow:master commit a8f28b9 The command Collapsed results for better readability
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. great work!
Key: id, | ||
Value: payload.Value(), | ||
} | ||
j++ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the j for?
Closes: #4639
This PR implements a state execution indexer module. It's broken down into two parts, the worker and indexer. The worker takes care of consuming new execution data from the execution data requester engine. It builds up a jobqueue to process each newly available execution data provided by the execution data requester.
The indexer module makes sure the data it receives is correctly transformed, the range for indexing is validated and it uses the register storage interface to store the data into the index database.
This PR intentionally skips building this module as part of the access node builder since it's not ready to be built yet, and misses root snapshot data ingestion. It also doesn't include an admin command that was created to query registers. Both of those will be additional PRs.
A simple design schema: