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

DKV write fast-acknowledge mode #117

Open
kingster opened this issue Dec 9, 2021 · 0 comments
Open

DKV write fast-acknowledge mode #117

kingster opened this issue Dec 9, 2021 · 0 comments
Labels
feature-request Feature Request

Comments

@kingster
Copy link
Member

kingster commented Dec 9, 2021

By default, a write involves persisting the data on a majority of replicas’ Paxos logs and writing the data to RocksDB on the primary before acknowledging the write to the client. With the default write mode, a read on primary will always see the most recent write. Some applications cannot tolerate cross-region latencies for every write, so ZippyDB supports a fast-acknowledge mode, where writes are acknowledged as soon as they are enqueued on the primary for replication. The durability and consistency guarantees for this mode are obviously lower, which is the trade-off for higher performance.

From https://engineering.fb.com/2021/08/06/core-data/zippydb/

IMO we should have something similar for DKV. This would help for latency-sensitive writes with the tradeoff of possible data loss in the case of a leader crash

@kingster kingster added the feature-request Feature Request label Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant