Request strategy: don't launch all 3 requests if not needed #146
No reviewers
Labels
No labels
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#146
Loading…
Reference in a new issue
No description provided.
Delete branch "better-request-strategy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
See comments in code to understand what this does.
Basically, instead of sending 3 requests when quorum is 1 and the other 2 don't matter (i.e. they are not write requests), we send only one request. If it fails, we send another one, etc. This should be very usefull to reduce I/O and bandwidth consumption for reads.
b0bf6cc522
toe8811f7c9d