On 02/06/2014, at 8:18 PM, Ice Prince <[email protected]> wrote:

> Hi list,
> Believe you are doing well.
> I'm configuring a web application which using Apache + mod_wsgi + Flask and i 
> have performance issue now.
> My application is very tiny, it just responds some short text only.
> My apache MPM is prefork as default, wsgi is configured to run in daemon mode.
> Tested by ab -n 10000 -c 200 http:/test/test  i got a very good result as 
> Request per second: 1500#/sec, time per request just 0.6ms.
> But i make an actual testing which from test server, i fetch the url 
> http:/test/test with speed is 100 request/second only, my web service become 
> laggy, the response time reach to 3 seconds as my manual monitoring.
> After calculation i found the actual requests i can handle only 40 
> requests/second.
> I don't know how to do next, please give some some light. Many thanks.

I would really need to see the Apache configuration related to mod_wsgi as well 
as the Apache prefork MPM settings you have configured.

So start by giving what you think covers that and I will ask for more if you 
haven't supplied everything.

Also confirm what version of mod_wsgi, Apache and Python you are using.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to