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

Persistence Replacement Bundle #1442

Open
oten91 opened this issue Jun 13, 2022 · 0 comments
Open

Persistence Replacement Bundle #1442

oten91 opened this issue Jun 13, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@oten91
Copy link
Contributor

oten91 commented Jun 13, 2022

The IAVL store (Cosmos’ app level storage tree) is the legacy implementation that serves as both the merkle root integrity structure and the general purpose database structure for reads. Though the structure is seemingly efficient at generating merkle roots for the ABCI AppHash, Pocket Network observes a considerable downgrade in performance for historical queries, block processing, and overall disk size management. The idea behind Pocket Network’s Persistence Replacement is to preserve the efficient state commitment root generation while providing an alternative implementation for DB reads. The idea is to prune N-X IAVL versions in order to enable merkle tree generation, while maintaining a completely separate storage layer for efficient storage, historical queries, and block processing. The idea and design is very similar to Cosmos’ ADR-40.

Required Goals:

  • Simpler Codebase
  • Non-Consensus Breaking
  • Comparable syncing performance
  • Comparable disk usage

Additional Goals:

  • Faster historical queries
  • Faster current queries
  • Smaller disk usage
  • Better syncing performance
  • Slower disk usage rate
@oten91 oten91 added the enhancement New feature or request label Jun 13, 2022
@oten91 oten91 changed the title Persistence Replacement Bundle 1 Persistence Replacement Bundle Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
3 participants