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

Massive storage trees #73

Merged
merged 9 commits into from
May 8, 2023
Merged

Massive storage trees #73

merged 9 commits into from
May 8, 2023

Conversation

Scooletz
Copy link
Contributor

@Scooletz Scooletz commented May 8, 2023

This PR introduces a notion of a massive storage tree. Usually, for accounts that have a small number of storage slots occupied, the entries are kept in FixedMap in the page, just beside the account data. When a page is mostly filled with storage slots of the given account though, Paprika optimizes it by planting a new tree responsible for storing information only about the storage slots for the given account. This, for accounts with millions of slots occupied is a game changer.

@Scooletz Scooletz marked this pull request as ready for review May 8, 2023 13:49
@github-actions
Copy link

github-actions bot commented May 8, 2023

Code Coverage

Package Line Rate Branch Rate Health
Paprika 89% 78%
Summary 89% (1221 / 1373) 78% (306 / 391)

Minimum allowed line rate is 75%

@Scooletz Scooletz merged commit 9c27dee into main May 8, 2023
2 checks passed
@Scooletz Scooletz deleted the massive-storage-trees branch May 8, 2023 13:50
@Scooletz Scooletz mentioned this pull request May 8, 2023
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.

None yet

1 participant