Since my requests according to my profiling take around 0.065 seconds to execute. I am really unsure of what happens after the response leaves the django side and uwsgi starts handling it with nginx. Is there a way to do some profiling at uwsgi or nginx level?
Best Regards, *Rakan AlHneiti* Find me on the internet: Rakan Alhneiti <http://www.facebook.com/rakan.alhneiti> | @rakanalh<https://twitter.com/rakanalh> | Rakan Alhneiti <http://www.linkedin.com/in/rakanalhneiti> | alhneiti ----- GTalk rakan.alhne...@gmail.com ----- Mobile: +962-798-910 990 On Fri, Feb 22, 2013 at 9:54 AM, mex <nginx-fo...@nginx.us> wrote: > now you **only** need to find the bootleneck :) > > maybe its better to run ab from a machine in the same network > instead of running on the same machine, esp. with one core. > > > > > > > Rakan Alhneiti Wrote: > ------------------------------------------------------- > > Hello, > > > > Thank you all for your support. > > > > *Mex: * > > *1) is the setup of your vmware similar to you ec2 - instance? i talk > > esp. > > about RAM/CPU-power here.* > > Yes, i've setup the vmware machine to be 1.7 G in ram and 1 core just > > like > > the small ec2 instance. > > > > *2) do you have a monitoring on your instances, checking for > > load/ram-zusage, iowait etc?* > > What goes on here is that my CPU usage per uwsgi process is around 13% > > and > > server load starts to get much higher. MySQL operations usually take > > 6-8 ms > > which are optimized and not slowing the app down. once the load starts > > rising, the app slows down and more connections start to fail. > > > > *Jan-Philip:* > > *Do you run the benchmark program on the same virtual machine as the > > web > > stack?? For yielding conclusive results, you certainly don't want to > > make > > ab, nginx, and all other entities involved compete for the same CPU. > > *Yes, on both machines i try to run ab on the same machine. So that i > > am > > profiling the app from within taking away any network latency that can > > affect the response rate. I tried running the test from a linode > > machine to > > an EC2 instance... same results. > > > > Again, thank you for your support, i am persevering on this until i > > find > > out what the issue is. > > > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,236391,236459#msg-236459 > > _______________________________________________ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx