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

Add QMDB support #12744

Open
sept-en opened this issue Jan 15, 2025 · 0 comments
Open

Add QMDB support #12744

sept-en opened this issue Jan 15, 2025 · 0 comments

Comments

@sept-en
Copy link

sept-en commented Jan 15, 2025

Recently, QMDB store was released, promising in the paper:

  • up to 6X compared to RocksDB and 8X compared to NOMT performance during updates.
  • optimization for SSD performance - one SSD read per state access, state updates with O(1) IO.
  • in-memory Merkleization with no SSD reads or writes.
  • small DRAM footprint (2.3 bytes per entry), allowing to run the store with a large amount of entries (4B+) on consumer-grade hardware.

Needs for the storage optimization were previously discussed in #4326, #9443, and other nearcore discussions.

The features of QMDB might positively affect the nearcore performance allowing:

  • bigger TPS;
  • decreasing the cost of touching the storage tree, thus reducing the read/write gas cost per byte;
  • lower the requirements for running the validator node;
  • reduce the state bloat.

The QMDB needs to be benchmarked specifically for the NEAR blockchain separately, comparing it with the RocksDB's performance.

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

No branches or pull requests

1 participant