There is something like follows:
https://github.com/openresty/lua-resty-limit-traffic
It's a lua script and may be a starting point to develop a module for your
need. There is a comment like that:
here we use the remote (IP) address as the limiting key
Hope it helps.
Zafer
Kostya Velychkovsky
Maybe, but I didn’t find something relatively to my question.
Надіслано з iPhone
> 12 лист. 2019 р. о 02:01 J.R. пише:
>
> Maybe you can write something with the njs module? Nothing that I have
> read in the standard nginx docs or blogs really addresses how you want
> to throttle (though it do
Maybe you can write something with the njs module? Nothing that I have
read in the standard nginx docs or blogs really addresses how you want
to throttle (though it does make sense).
Maybe there is a 3rd party module?
___
nginx mailing list
nginx@nginx.o
till valid. From: velychkov...@gmail.comSent: November 11, 2019 10:50 AMTo: nginx@nginx.orgReply-to: nginx@nginx.orgSubject: Re: Per IP bandwidth limit I have big data storage, so
I have big data storage, some clients upload files to it, some download,
some clients might upload a lot of small files in 100-200 parallel
connections, but using only 20-30 mbit/s bandwidth, some clients can put
big files in 10 parallel connections but using - 3Gbit/s bandwidth. The
same situation
Why do you want to do this at all?
What is the real underlying problem that you are attempting to solve?
> On Nov 11, 2019, at 8:29 AM, Kostya Velychkovsky
> wrote:
>
> I use Linux, and had a bad experience with Linux shaper (native kernel QoS
> mechanism - tc ), it consumed a lot of CPU an
I use Linux, and had a bad experience with Linux shaper (native kernel QoS
mechanism - tc ), it consumed a lot of CPU and worked unstable. So I
rejected the idea to keep using it.
пн, 11 нояб. 2019 г. в 15:23, Christos Chatzaras :
>
> > On 11 Nov 2019, at 15:09, Kostya Velychkovsky
> wrote:
> >
> On 11 Nov 2019, at 15:09, Kostya Velychkovsky wrote:
>
> Hello, is it the correct way to limit download/upload speed per client IP,
> at the same time ignore how many connections it opens and request rate
> produced?
>
> I need just limit bandwidth for example 100 mbit/s per IP, and no m
Hello, is it the correct way to limit download/upload speed per client IP,
at the same time ignore how many connections it opens and request rate
produced?
I need just limit bandwidth for example 100 mbit/s per IP, and no matter
it opens 1 connection or 100 simulation connections.
--
*Best Rega