dragonflydb / dragonflydb/dragonfly

Don't hold back snapshot writes in PushSerialized with bucket iteration fiber

Open
#5,656 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
31.5k
Forks
1.3k
Avg merge
1d 9h
Merged PRs (30d)
121

Description

Currently, the bucket iteration fiber increases the record id before writing, thus making any other write wait for itself. Alternatively, we can keep a list of "unflushed but version updated" buckets. If the write bucket is in this list, we have to wait, otherwise we can write in parallel

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.