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

feat: change engine api request handler #9010

Merged
merged 2 commits into from
Jun 21, 2024

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Jun 21, 2024

ref #8742
changes how engine messages will be processed

we expected that the tree will take care of all requests in sequence that will require a bunch of blocking IO.

so this type sets up a bidrectional channel that delegates events and polls a channel from the tree for actions (e.g. start backfill, download blocks etc..). then the actual tree task is a loop over incoming requests.

@mattsse mattsse force-pushed the matt/change-execution-model branch from bc318dd to 17a7687 Compare June 21, 2024 12:16
Copy link
Member

@rkrasiuk rkrasiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice!

@mattsse mattsse merged commit 5fc3629 into matt/engine2 Jun 21, 2024
18 of 26 checks passed
@mattsse mattsse deleted the matt/change-execution-model branch June 21, 2024 12:51
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.

2 participants