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

wal: consider lowering failover threshold dynamically #4111

Open
jbowens opened this issue Oct 25, 2024 · 0 comments
Open

wal: consider lowering failover threshold dynamically #4111

jbowens opened this issue Oct 25, 2024 · 0 comments

Comments

@jbowens
Copy link
Collaborator

jbowens commented Oct 25, 2024

Failing over the WAL incurs some additional cost (buffering within the WAL writer, synchronization overhead and CPU from double writing). Depending on the distribution of write latencies of the underlying disk and the workload, these costs are minor relative to the write latency of some value X. Ideally we would find X and use it as a failover threshold in order to insulate the workload from high tail latencies.

See internal slack thread https://cockroachlabs.slack.com/archives/C02HW5362HX/p1729872497185199?thread_ts=1729781880.487219&cid=C02HW5362HX

Jira issue: PEBBLE-287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant