apple / apple/foundationdb

Improve the model of CPU work required for the proxy to commit

Open
#2,590 0 comments 0 reactions 1 assignee Claimed by @etschannen View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

Currently the model is that a proxy cannot commit more than 200 MB/s, however the actual work is heavily dependent on the ratio between conflict ranges and mutations, and also the number of mutations rather than just the number of bytes in the mutations.

A more accurate model will help the proxies avoid fetching versions from the master before they have the CPU available to process the batch, which will improve throughput and lower tail latencies.

Related to https://github.com/apple/foundationdb/pull/2589

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.