Performance Optimize Litt Keymap Pebble Options#3594
Conversation
LittDB's default pebble keymap was opened with stock options (4MB memtable, single compaction thread, no filters), which collapse under a sustained stream of small random keys — the memtable rotates roughly once a second and L0 backs up, stalling writers. Give it a 64MB memtable, compaction concurrency scaling to 8, and per-level bloom filters for its point-lookup reads. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PR SummaryMedium Risk Overview The new A Reviewed by Cursor Bugbot for commit 50f9639. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3594 +/- ##
==========================================
- Coverage 58.97% 58.09% -0.89%
==========================================
Files 2208 2134 -74
Lines 181744 173210 -8534
==========================================
- Hits 107180 100619 -6561
+ Misses 64938 63665 -1273
+ Partials 9626 8926 -700
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Guards against a silent revert to stock options — the existing keymap tests pass either way, so without this the perf tuning could regress unnoticed. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Cody Littley <56973212+cody-littley@users.noreply.github.com>
The edit to use unit.MB for the keymap memtable/LBase sizes did not add the unit import, breaking go vet (undefined: unit). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Uh oh!
There was an error while loading. Please reload this page.