-
Notifications
You must be signed in to change notification settings - Fork 185
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
Replacing Badger with Pebble DB #6515
Comments
@j1010001 did you mean that BadgerDB v2 and v3 are not maintained anymore (instead of entire BadgerDB project)? BadgerDB released v4.0 in Feb 2023 and v4.3 in Aug 2024.
More details and other releases at BadgerDB releases. |
did you have any preliminary results with running nodes with pebble instead of badger? I am using pebble and pretty happy so far, but was thinking to check badger for faster writes, though I am scared on memory usage etc a bit. |
Unfortunately , we didn’t gather metrics for the proof-of-concept benchmark, as our focus was on ensuring execution correctness. Once this issue is completed, I will collect metrics for comparison. |
hi @j1010001, @zhangchiqing - is my understanding correct w.r.t outcomes of the milestones above:
|
Why
We have identified following project milestones that complete the work of removing flow-go dependency on Badger DB.
✅ Milestone 1 - Refactor data access & prune chunk data packs
Milestone 2 - DB access refactoring for low-risk data on EN, VN and AN
Milestone 3 - unblock pruning of Execution, Access and Verification data
Note: ideally we use the locking framework as proposed in: https://github.com/jordanschalm/lockctx/blob/main/README.md
Completing this milestone enables removal of dependency on Badger DB from Verification node.
Execution
Verification
Access
Collection
Common to all nodes - needed for completing pruning
Milestone 4 - DB access refactoring - remove dependency on Badger DB completely form ENs and ANs
Execution
Access
Milestone 5 - DB access refactoring - remove dependency on Badger DB completely form CN and SNs
OKR placeholder: #6528
Consensus
Collection
Collection Consensus
Deployment - Switching from Badger to Pebble (Dynamic bootstrap (preferred), spork, or Migration)
Tools
TBD
Milestone 6 - pruning of Execution, access and verification data
Task breakdown TDB
Milestone 7 - upgrade to Pebble 2.x
Task breakdown TDB
The text was updated successfully, but these errors were encountered: