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

Script Execution on Access Node #4637

Closed
27 tasks done
koko1123 opened this issue Aug 18, 2023 · 0 comments · Fixed by #4727
Closed
27 tasks done

Script Execution on Access Node #4637

koko1123 opened this issue Aug 18, 2023 · 0 comments · Fixed by #4727
Assignees
Labels
Epic Execution Cadence Execution Team

Comments

@koko1123
Copy link
Contributor

koko1123 commented Aug 18, 2023

Goal
Implement optional execution of scripts on the access node.

Design Proposal
Script execution is already being done on the execution node by using the script execution engine, which can be reused in this use case. The script execution engine needs to be changed to require slimmer interfaces which will be easier to conform to by the script execution module that will be built and will use the Pebble index database.
On the database population side, we will create a state indexer module that will be responsible for reacting to new data available from the state sync API triggered by the state requester engine using the callback. The indexer module will use an internal jobqueue to make sure we handle sequential indexing of new block data, as well as have good failover and retry logic already implemented.
The indexer module will use defined interfaces for persisting data in the indexer database.

A simple overview of the design:
Screenshot 2023-08-30 at 14 58 14

Tasks

  1. Execution
    sideninja
  2. Execution
    sideninja
  3. Execution
    koko1123
  4. Execution
  5. Execution
    sideninja
  6. koko1123
  7. S-Access
    peterargue
  8. S-Access
    peterargue
  9. Execution
    koko1123
  10. Execution
    sideninja
  11. Execution
    koko1123
  12. Execution
    peterargue
  13. Execution
    peterargue
  14. Bug Execution
    peterargue
  15. S-Access
    peterargue
  16. S-Access
    peterargue
@koko1123 koko1123 added the Execution Cadence Execution Team label Aug 18, 2023
@sideninja sideninja changed the title Migrate script execution to Access Node Script Execution on Access Node Aug 21, 2023
@sideninja sideninja reopened this Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic Execution Cadence Execution Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants