-
Notifications
You must be signed in to change notification settings - Fork 312
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
support backup request to alleviate the long tail problem #251
Comments
Proposal: Backup Request
BackgroundFor now, Pegasus only supports reading from the primary. This proposal aims to support reading from secondary. This may improve the condition where the primary is instable (e.g rebalancing, hotspot writing), while other secondaries can serve with lower latency. So reading secondary will lead to better availablity. Backup request is also known as "hedge request", which was first introduced in The Tail at Scale Dean and Barroso 2013. BRPC also implements this mechanism. DesignBackup Request is designed to be directly driven by the client, which means when it wants to read from secondary, it can read immediately without any registration to meta or replica, neither any additional communications to the server. The client sends a read request, with an option TODO
|
I put the related paragraphs described "hedge request" in "The tail at scale" here:
|
performance test set/get operation:
Multi-get/Batch-Set operation:
|
the backup requests will be sent to the secondary replicas.
The text was updated successfully, but these errors were encountered: