Re: Using both keepalive requests and timeout

2014-11-19 Thread josephlim
Hi Valentin, Thank you for clarifying that, however now that makes me wonder about this: if we set our timeout value to 30s and did not set our requests value, does this mean that the default requests value of 100 restriction is imposed or does nginx only respect the timeout value explicitly decla

Using both keepalive requests and timeout

2014-11-19 Thread josephlim
Hi all, I was curious to see if anyone used both keepalive_requests and keepalive_timeout at the same time and knew the expected behaviour? I was hoping that nginx would do whichever conditions were met first. Thank you very much in advance. Posted at Nginx Forum: http://forum.nginx.org/read.ph

ngx.shared.dict - locking mechanism ?

2014-11-12 Thread josephlim
Hi guys, I was wondering what happens when multiple workers access the ngx.shared.dict in the http lua module ? Are there conflicts/locking that could potentially impact performance of nginx? We are talking about 32 workers in my use case. Thank you in advance Posted at Nginx Forum: http://foru