Welcome! Log In Create A New Profile

Advanced

dynamic rate limiting per ip

January 02, 2014 03:54PM
Hello Folks,

i have some setup with multiple server and i offer downloads for the users, in the case my servers bandwidth is overloaded i want the people to be able to start the download but with limited rate so the don't have to wait in some kind of queue till the get there downloadlink. As soon as some slots frees the person highest in the queue download rate should increase to the max.

Any Ideas if this is possible with the limit_rate of the http core module and lua?

If it would be possible to make 2 zone dicts where the ips of the the slow and fast connections are in. And if someone ratelimit is dropped his ip gets removed from the slow dict and added to the fast dict.

https://github.com/chaoslawful/lua-nginx-module#ngxshareddict
Subject Author Posted

dynamic rate limiting per ip

theotow January 02, 2014 03:54PM

Re: dynamic rate limiting per ip

theotow January 06, 2014 11:07AM

Re: dynamic rate limiting per ip

Yichun Zhang (agentzh) January 06, 2014 02:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 259
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready