Skip to content

triedb/pathdb: write the histories in background - #35949

Merged
rjl493456442 merged 1 commit into
ethereum:masterfrom
rjl493456442:pathdb-async-writer
Oct 16, 2026
Merged

rjl493456442 merged 1 commit into
ethereum:masterfrom
rjl493456442:pathdb-async-writer

Conversation

@rjl493456442

@rjl493456442 rjl493456442 commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

This PR moves the history write alongside some metadata persistence into the background, making the triedb commit is slightly faster.

What's more, it also moves the history indexing to the background which can significantly mitigate the history index overhead in archive mode.

@rjl493456442

Copy link
Copy Markdown
Member Author

https://github.com/jrhea/geth-benchmark/actions/runs/38675365087

@rjl493456442
rjl493456442 requested a review from jrhea October 15, 2026 04:05

@jrhea jrhea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm

@rjl493456442
rjl493456442 merged commit a18ade3 into ethereum:master Oct 16, 2026
24 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants