dragonflydb / dragonflydb/dragonfly
Don't hold back snapshot writes in PushSerialized with bucket iteration fiber
Open
- 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
Assessment
This issue has not been assessed yet.