Skip to content

Process engine requests sequentially #192

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

Closed
wants to merge 5 commits into from
Closed

Conversation

ferranbt
Copy link
Collaborator

@ferranbt ferranbt commented Apr 29, 2025

This PR changes how we handle engine API requests by processing them sequentially rather than concurrently. The changes implement a message-passing architecture with an EngineHandler that forwards requests to the main RollupBoostServer through a channel.

Motivation:

  • Alignment with EL expectations: Execution Layer expects to receive and process messages in sequence, not in parallel
  • Concurrency control: Prevents race conditions when the Consensus Layer sends many requests in a short timeframe

TODO: Write the success condition in the e2e test.

Copy link

vercel bot commented Apr 29, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rollup-boost ⬜️ Ignored (Inspect) Visit Preview Apr 29, 2025 11:12am

@ferranbt
Copy link
Collaborator Author

ferranbt commented May 2, 2025

Closing in favour of #201

@ferranbt ferranbt closed this May 2, 2025
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.

1 participant