Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Support reference-counting state backend.#5769

Merged
gavofyork merged 6 commits intomasterfrom
a-db-ref-counting
Apr 27, 2020
Merged

Support reference-counting state backend.#5769
gavofyork merged 6 commits intomasterfrom
a-db-ref-counting

Conversation

@arkpar
Copy link
Member

@arkpar arkpar commented Apr 24, 2020

This PR introduces optional support for state DB backends that have internal reference counting, such as ParityDb. This allows for some optimizations on the client backend side:

  1. Trie node prefixing is not required.
  2. Pruning overlay is not required to track references, reducing memory overhead.

@arkpar arkpar added the A0-please_review Pull request needs code review. label Apr 24, 2020
@gnunicorn gnunicorn added the J0-enhancement An additional feature request. label Apr 27, 2020
@gavofyork
Copy link
Member

bot merge

@gavofyork gavofyork merged commit a516cf2 into master Apr 27, 2020
@gavofyork gavofyork deleted the a-db-ref-counting branch April 27, 2020 10:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review. J0-enhancement An additional feature request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants