Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed Limiter #401

Closed
blackops786187 opened this issue Jun 14, 2024 · 2 comments
Closed

Speed Limiter #401

blackops786187 opened this issue Jun 14, 2024 · 2 comments

Comments

@blackops786187
Copy link

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

@sigoden
Copy link
Owner

sigoden commented Jun 14, 2024

Dufs will not support this feature.

@sigoden sigoden closed this as not planned Won't fix, can't repro, duplicate, stale Jun 14, 2024
@sigoden
Copy link
Owner

sigoden commented 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants