[GH-ISSUE #401] Speed Limiter #216

Closed
opened 2026-04-08 16:51:13 +03:00 by zhus · 2 comments
Owner

Originally created by @blackops786187 on GitHub (Jun 14, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/401

Hi,

Thanks for the work youve put into this file server. Sharing file securely has become a breeze !

Was wondering how feasible it would be to implement the ability to specify a rate limit via command line argument. This would be helpful when you dont want users to max out your upload when they are downloading files from you and therfore saturate your connection and cause issues

Sounds simple in theory but i suspect its not straightforward to implement. If its not an option for you, can you suggest other tools to rate limit

Originally created by @blackops786187 on GitHub (Jun 14, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/401 Hi, Thanks for the work youve put into this file server. Sharing file securely has become a breeze ! Was wondering how feasible it would be to implement the ability to specify a rate limit via command line argument. This would be helpful when you dont want users to max out your upload when they are downloading files from you and therfore saturate your connection and cause issues Sounds simple in theory but i suspect its not straightforward to implement. If its not an option for you, can you suggest other tools to rate limit
zhus closed this issue 2026-04-08 16:51:13 +03:00
Author
Owner

@sigoden commented on GitHub (Jun 14, 2024):

Dufs will not support this feature.

<!-- gh-comment-id:2167678556 --> @sigoden commented on GitHub (Jun 14, 2024): Dufs will not support this feature.
Author
Owner

@sigoden commented on GitHub (Jun 14, 2024):

There are several types of speed limiting

  1. Scope
  • Single connection: nginx with limit_rate
  • Single IP: nginx with limit_rate/limit_conn
  • Entire service: tc
  1. Direction
  • upload
  • download
<!-- gh-comment-id:2167693830 --> @sigoden commented on GitHub (Jun 14, 2024): There are several types of speed limiting 1. **Scope** - Single connection: nginx with limit_rate - Single IP: nginx with limit_rate/limit_conn - Entire service: tc 2. **Direction** - upload - download
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#216