Implement parallel download workers #46

Closed
opened 2026-07-13 16:58:26 +00:00 by fuzzy · 0 comments
Owner
## Sub-tasks - [ ] [Create worker pool pattern with configurable concurrency (default 3)](https://git.lan.thwap.org/thwap/pget/issues/40) - [ ] [Each worker downloads a segment of the file defined by `[start, end)` bytes](https://git.lan.thwap.org/thwap/pget/issues/41) - [ ] [Use `http.Client.Do()` with context cancellation support for HTTP](https://git.lan.thwap.org/thwap/pget/issues/42) - [ ] [Use `ftp.ServerConn.RetrFrom()` for FTP chunked downloads](https://git.lan.thwap.org/thwap/pget/issues/43) - [ ] [Write each segment to a temporary file or a pre-allocated file using `os.File.WriteAt`](https://git.lan.thwap.org/thwap/pget/issues/44) - [ ] [Retry failed segments with exponential backoff](https://git.lan.thwap.org/thwap/pget/issues/45)
fuzzy self-assigned this 2026-07-13 16:58:27 +00:00
fuzzy closed this issue 2026-07-13 18:09:23 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/pget#46
No description provided.