[PR #229] [MERGED] Preallocate download streams #268

Closed
opened 2026-02-17 17:06:32 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Drop-OSS/drop/pull/229
Author: @DecDuck
Created: 8/31/2025
Status: Merged
Merged: 8/31/2025
Merged by: @DecDuck

Base: developHead: prealloc-stream-dls


📝 Commits (4)

  • 53c39cc feat: pre-allocate streams for high-latency downloads
  • 6335fd0 fix: update drop-base
  • d743cbd fix: remove debug latency
  • e7ca957 fix: lint

📊 Changes

4 files changed (+30 additions, -19 deletions)

View changed files

📝 drop-base (+1 -1)
📝 nuxt.config.ts (+4 -2)
📝 server/api/v2/client/chunk.post.ts (+24 -15)
📝 server/middleware/latency.ts (+1 -1)

📄 Description

Significantly boosts high IO-latency downloads, by reducing the time waiting before files to come down the request.

On my NFS spinning-rust NAS, this literally doubled my download speed, even with the 1400ms of debug latency.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Drop-OSS/drop/pull/229 **Author:** [@DecDuck](https://github.com/DecDuck) **Created:** 8/31/2025 **Status:** ✅ Merged **Merged:** 8/31/2025 **Merged by:** [@DecDuck](https://github.com/DecDuck) **Base:** `develop` ← **Head:** `prealloc-stream-dls` --- ### 📝 Commits (4) - [`53c39cc`](https://github.com/Drop-OSS/drop/commit/53c39cc3a72ffb6f588c2fe5f46a0a8ee57e551d) feat: pre-allocate streams for high-latency downloads - [`6335fd0`](https://github.com/Drop-OSS/drop/commit/6335fd0c06cd9c022d8257f0eb7d35db3536c4ad) fix: update drop-base - [`d743cbd`](https://github.com/Drop-OSS/drop/commit/d743cbd4d05f8513262262e5c04df293d5a40236) fix: remove debug latency - [`e7ca957`](https://github.com/Drop-OSS/drop/commit/e7ca957cbca34b7f2e39d6cb969d07da0dc22120) fix: lint ### 📊 Changes **4 files changed** (+30 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `drop-base` (+1 -1) 📝 `nuxt.config.ts` (+4 -2) 📝 `server/api/v2/client/chunk.post.ts` (+24 -15) 📝 `server/middleware/latency.ts` (+1 -1) </details> ### 📄 Description Significantly boosts high IO-latency downloads, by reducing the time waiting before files to come down the request. On my NFS spinning-rust NAS, this literally doubled my download speed, even with the 1400ms of debug latency. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-17 17:06:32 -05:00
yindo closed this issue 2026-02-17 17:06:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Drop-OSS/drop#268