mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #423] Slow download of zipped folders #231
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Originally created by @ghost on GitHub (Jul 23, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/423
Problem
When downloading large folders (~2GB) as zip file, the download process is unexpectedly slow (around 6-8 MB/s compared to 100+ MB/s of unzipped, raw files). When using Filebrowser on the same system, the download speed of zipped folders is on par with raw downloads.
Configuration
I used Docker with the following command:
docker run --rm -v /mydata:/data -p 5000:5000 sigoden/dufs /data -A
Log
Listening on:
http://127.0.0.1:5000/
http://172.17.0.9:5000/
http://[::1]:5000/
2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /" 200
2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /dufs_v0.41.0/index.css" 200
2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /dufs_v0.41.0/index.js" 200
2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /dufs_v0.41.0/favicon.ico" 200
2024-07-23T17:00:25Z INFO - 192.168.0.10 "GET /test%20data/?zip" 200
Environment:
@sigoden commented on GitHub (Jul 24, 2024):
The compress algorithm will limit the zip download rate.
You could try
--compress none