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

feat(v2): hedged object uploads #3952

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

kolesnikovae
Copy link
Collaborator

@kolesnikovae kolesnikovae commented Feb 26, 2025

Currently, the segment-writer and compaction-worker services do not retry block uploads.

This is acceptable in most cases, as cloud providers typically ensure high availability. However, issues like tail request latencies, transient errors, network blips, and others could be mitigated with a retry policy.

The PR introduces retries and hedging for segment uploads. I'll add upload retries for compaction workers in a separate PR.

The screenshot below shows how a successful hedged upload (triggered after 500ms) prevented a tail latency spike – a slower request that could have lasted seconds (p100)

image

@kolesnikovae kolesnikovae changed the title feat: hedged object uploads feat(v2): hedged object uploads Feb 26, 2025
@kolesnikovae kolesnikovae marked this pull request as ready for review February 26, 2025 12:18
@kolesnikovae kolesnikovae requested a review from a team as a code owner February 26, 2025 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants