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 counter for number of bytes, written by compacter #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

denji
Copy link
Owner

@denji denji commented Dec 10, 2018

Fix for oklog#132

The number of bytes, written during compact is worth to be
observed because write performance of disks is limited and
can be a bottleneck.
Current compaction algorithm writes too much data to disk
compared to number of bytes replicated.

This patch implements another algorithm, which keeps a number of
small files but compacts them all by one operation a bit later.

Fix for oklog#132
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

Successfully merging this pull request may close these issues.

2 participants