If you have another nginx config file to propose, I'll happy to relaunch a
round.
For nginx part, I've taken some deployment config files from the Web.

--
Ludovic Gasc

On Thu, Mar 12, 2015 at 1:04 PM, Victor Stinner <[email protected]>
wrote:

> 2015-03-11 23:36 GMT+01:00 Antoine Pitrou <[email protected]>:
> > How can you get almost the same number of errors for all 4
> > different setups, i.e. Django+Meinheld, Django+uWSGI, Flask+Meinheld,
> > Flask+uWSGI?
>
> (4000*60*5 - 1029213) / (5*60.) = 569.29 requests/second. This number
> is probably the number of requests supported by the backend
> (django/flask) and nginx  returns HTTP errors for all other requests.
> (569 req/s is close to the result seen in the round 5.)
>
> nginx has many timeout options, with a default to 60 seconds for most
> operations. Example:
>
> http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_connect_timeout
>
> I don't think that a benchmark with so many errors is useful.
>
> Victor
>

Reply via email to