Replies: 5 comments 7 replies
-
I've been doing some benchmarking experiments with badger v2 and v4 and I have some interesting observations about write performance and compaction I can share logs on etc later. Some of these could be invalidated after further experiments, but the initial tl;dr is that:
Code where compactor runs a lot:
Code where it doesn't:
|
Beta Was this translation helpful? Give feedback.
-
@musalbas, thank you for testing this out. Your findings confirm my interpretation of the badger code and its non-blocking design. To find the real reason behind hangs, I made this tool: #2482. Check it out! I have yet to start investigating using the tool and I also encourage you to try and suggest any features/improvements to ease the process and make it more future-proof. |
Beta Was this translation helpful? Give feedback.
-
What we know so far from testing on Robusta is that the Badgerv2 with our configuration does not handle such load and causes OOMs after a certain period of time. We also know that Badgerv4 helps with it, just by updating the version. |
Beta Was this translation helpful? Give feedback.
-
With the tool we were able to reproduce hangs:
|
Beta Was this translation helpful? Give feedback.
-
We found two issues:
So we can safely close the discussion |
Beta Was this translation helpful? Give feedback.
-
Starting a discussion on this to share findings.
Beta Was this translation helpful? Give feedback.
All reactions