Re: bandwidth limit for specific server

2021-12-24 Thread Paul
ot;nginx" ; *Date:*?0?2Thu, Dec 23, 2021 07:47 AM *To:*?0?2"nginx"; *Subject:*?0?2Re: bandwidth limit for specific server On Sat, Dec 18, 2021 at 01:37:11PM +0800, huiming wrote: Hi there, >?0?2?0?2 Is it possible to limit total bandwidth for server? Using only stock nginx, I b

Re: bandwidth limit for specific server

2021-12-24 Thread Nicolas Franck
Something to take into account: if you limit the bandwidth, a nginx worker will have to spend more time for that request, time he cannot spend on other, possibly more meaningful requests. > On 24 Dec 2021, at 14:23, Francis Daly wrote: > > On Thu, Dec 23, 2021 at 09:53:26AM +0800, huiming wrote:

Re: bandwidth limit for specific server

2021-12-24 Thread Francis Daly
On Thu, Dec 23, 2021 at 09:53:26AM +0800, huiming wrote: Hi there, > Any suggestion for third-party module that does some form of internal > bandwidth limiting? Noting that I imagine that if this facility were straightforward to implement efficiently and reliably in a future-proof fashion, it w

Re: bandwidth limit for specific server

2021-12-22 Thread huiming
Francis Daly??       extremely appreciative of your feedback.      Any suggestion for third-party module that does some form of internal bandwidth limiting?  thanks huiming -- Original -- From:

Re: bandwidth limit for specific server

2021-12-22 Thread Francis Daly
On Sat, Dec 18, 2021 at 01:37:11PM +0800, huiming wrote: Hi there, > Is it possible to limit total bandwidth for server? Using only stock nginx, I believe the answer is "yes, but not in a way that you would want; so effectively no". You can limit the number of concurrent (active) connections;

bandwidth limit for specific server

2021-12-18 Thread huiming
Hi,       Is it possible to limit total bandwidth for server?   http {     include       mime.types;     default_type  application/octet-stream;     #access_log  /usr/local/nginx/logs/access.log  main;     access_log  off;     sendfile        on;     #tcp_nopush     on;     #keepalive_time