[GH-ISSUE #573] Add bandwidth throttling #339

Closed
opened 2026-04-08 16:52:09 +03:00 by zhus · 1 comment
Owner

Originally created by @MxSelfDestruct on GitHub (Apr 14, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/573

This is a really handy little program, I'm using it to share files with friends from my home computer. It would be really nice if there was a way to limit the max upload and download speed to and from each user, and/or a way to limit the bandwidth of the Dufs server.

For context, my home internet connection is asymmetric; 1 Gb down, but only 100 Mbit up. I'd rather not slow the outbound traffic from my house to a crawl when I'm sending a friend a large file.

I've tried to slow it down with trickle, but it doesn't seem to actually work. all other bandwidth-limiting solutions on Linux seem to be for controlling an entire network interface, not just an application. If there's another obvious solution (aside from Docker) that I'm missing, feel free to point that out and mock me.

Originally created by @MxSelfDestruct on GitHub (Apr 14, 2025). Original GitHub issue: https://github.com/sigoden/dufs/issues/573 This is a really handy little program, I'm using it to share files with friends from my home computer. It would be really nice if there was a way to limit the max upload and download speed to and from each user, and/or a way to limit the bandwidth of the Dufs server. For context, my home internet connection is asymmetric; 1 Gb down, but only 100 Mbit up. I'd rather not slow the outbound traffic from my house to a crawl when I'm sending a friend a large file. I've tried to slow it down with [trickle](https://github.com/mariusae/trickle), but it doesn't seem to actually work. all other bandwidth-limiting solutions on Linux seem to be for controlling an entire network interface, not just an application. If there's another obvious solution (aside from Docker) that I'm missing, feel free to point that out and mock me.
zhus closed this issue 2026-04-08 16:52:09 +03:00
Author
Owner

@sigoden commented on GitHub (Apr 17, 2025):

We will not support this feature.

  1. dufs is a simple file server, and we have no intention of supporting non-common features.
  2. dufs is stateless, which means users can easily bypass rate limits by using multiple threads.
<!-- gh-comment-id:2811979211 --> @sigoden commented on GitHub (Apr 17, 2025): We will not support this feature. 1. dufs is a simple file server, and we have no intention of supporting non-common features. 2. dufs is stateless, which means users can easily bypass rate limits by using multiple threads.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#339