Skip to content

feat(optimism): Spawn blocking task for pending block builds in FlashBlockService#18294

Merged
mattsse merged 3 commits intoreth-optimism-flashblocks28from
reth-optimism-flashblocks33
Sep 8, 2025
Merged

feat(optimism): Spawn blocking task for pending block builds in FlashBlockService#18294
mattsse merged 3 commits intoreth-optimism-flashblocks28from
reth-optimism-flashblocks33

Conversation

@RomanHodulak
Copy link
Contributor

@RomanHodulak RomanHodulak commented Sep 5, 2025

Part of #17858
Closes #18219

The FlashBlockService gets to keep a spawner so that it can spawn blocking task for block builds. This allows the whole service to run in a non-blocking task, to optimize performance, i.e. use the blocking task only for the CPU intensive operation, but not the whole service.

@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Sep 5, 2025
@github-actions github-actions bot added C-enhancement New feature or request C-perf A change motivated by improving speed, memory usage or disk footprint labels Sep 5, 2025
@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Sep 8, 2025
@mattsse mattsse merged commit 3936b9c into reth-optimism-flashblocks28 Sep 8, 2025
39 checks passed
@mattsse mattsse deleted the reth-optimism-flashblocks33 branch September 8, 2025 07:54
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-enhancement New feature or request C-perf A change motivated by improving speed, memory usage or disk footprint

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants