Skip to content

perf: ship bounded multipart SABR downloads - #10

Merged
Priveetee merged 17 commits into
mainfrom
release/1.3.0
Jul 30, 2026
Merged

perf: ship bounded multipart SABR downloads#10
Priveetee merged 17 commits into
mainfrom
release/1.3.0

Conversation

@Priveetee

@Priveetee Priveetee commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • replace static SABR segment downloads with framed streams from Server
  • download independent ranges concurrently with bounded worker counts
  • reserve peak disk capacity before accepting large jobs
  • detect stalled streams without imposing a total duration limit
  • reduce progress lock contention and reuse transfer buffers

Production behavior

  • exact selected audio and video formats remain preserved
  • large downloads use up to 12 concurrent parts
  • long downloads continue while bytes are arriving
  • stalled streams are cancelled and retried
  • active reservations prevent concurrent jobs from exhausting local storage

Tests

Downloader CI and Coverage workflows are the release gates. No additional local validation was run for this PR.

Rollback

Restore Downloader revision 7763ee165333a0132a59ec25b4548a4b9084bb16.

@Priveetee
Priveetee merged commit 29da698 into main Jul 30, 2026
8 checks passed
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.

1 participant