Re: [squid-users] limit new req/sec on squid to X per sec

2019-11-27 Thread Alex Rousskov
On 11/27/19 12:31 AM, --Ahmad-- wrote: > im looking for limiting TCP req/sec on squid to X speed . There are many terminology problems on this thread, but just for the record, you can use Squid external ACLs to limit: 1. the rate of incoming HTTP requests 2. the rate of outgoing HTTP requests 3

Re: [squid-users] limit new req/sec on squid to X per sec

2019-11-27 Thread --Ahmad--
Hi Amos , Thank you for your reply , We ll you correct corresponding to TCP/HTTP . but my main concern is here its just POST/GET with single reply from our API server . Its just one TCP connection one HTTP connection . But yes i will work on other solutions since squid is not the right pl

Re: [squid-users] limit new req/sec on squid to X per sec

2019-11-27 Thread Amos Jeffries
On 28/11/19 1:03 am, --Ahmad-- wrote: > Hello Amos , Thank you for your response . > > we have an APP behind squid http APP that will crash if # of (req/sec ) > exceeded X . > it won’t crash about Already established session , it only care about new > req/sec hitting squid . > That does not ma

Re: [squid-users] limit new req/sec on squid to X per sec

2019-11-27 Thread --Ahmad--
Hello Amos , Thank you for your response . we have an APP behind squid http APP that will crash if # of (req/sec ) exceeded X . it won’t crash about Already established session , it only care about new req/sec hitting squid . I think its doable by iptables , but i really was hopping we can do i

Re: [squid-users] limit new req/sec on squid to X per sec

2019-11-27 Thread Amos Jeffries
On 27/11/19 6:31 pm, --Ahmad-- wrote: > Hello Folks , > > > im looking for limiting TCP req/sec on squid to X speed . > TCP does not make requests. > > say i have an instance running . > > > i want to limit it to 100 req/sec for “new connections “ not just for > concurrent connections . >

[squid-users] limit new req/sec on squid to X per sec

2019-11-26 Thread --Ahmad--
Hello Folks , im looking for limiting TCP req/sec on squid to X speed . say i have an instance running . i want to limit it to 100 req/sec for “new connections “ not just for concurrent connections . so if connection is old or “ established “ its out of the game . if the connection is new