besu icon indicating copy to clipboard operation
besu copied to clipboard

Offload logbloom cache generation to computation executor, to avoid b…

Open fab-10 opened this issue 3 years ago • 0 comments

…locking the timer

Signed-off-by: Fabio Di Fabio [email protected]

PR description

Logbloom cache regeneration at startup is a long running task, and at the moment it is run on the Timer executor, with the result that it block other scheduled task to be executed for a long period, see the graph below for an example of the queued tasks that are waiting to be exeecuted by the Timer executor image

This PR offload all the logbloom cache generation tasks to the Computation executor

Fixed Issue(s)

Documentation

  • [x] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

fab-10 avatar Oct 13 '22 13:10 fab-10