Welcome! Log In Create A New Profile

Advanced

Re: Fwd: nginx performance on Amazon EC2

Rakan Alhneiti
February 22, 2013 10:12AM
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 |
@rakanalhhttps://twitter.com/rakanalh
| Rakan Alhneiti http://www.linkedin.com/in/rakanalhneiti | alhneiti

----- GTalk rakan.alhneiti@gmail.com
----- Mobile: +962-798-910 990



On Fri, Feb 22, 2013 at 9:54 AM, mex <nginx-forum@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
Subject Author Posted

Fwd: nginx performance on Amazon EC2

Rakan Alhneiti February 20, 2013 03:14PM

Re: nginx performance on Amazon EC2

Anoop Alias February 20, 2013 11:06PM

Re: nginx performance on Amazon EC2

David | StyleFlare February 20, 2013 11:34PM

Re: nginx performance on Amazon EC2

Rakan Alhneiti February 21, 2013 12:06AM

Re: nginx performance on Amazon EC2

mex February 21, 2013 02:29AM

Re: Fwd: nginx performance on Amazon EC2

Jan-Philip Gehrcke February 21, 2013 03:02AM

Re: Fwd: nginx performance on Amazon EC2

Rakan Alhneiti February 21, 2013 05:40PM

Re: Fwd: nginx performance on Amazon EC2

mex February 22, 2013 01:54AM

Re: Fwd: nginx performance on Amazon EC2

Rakan Alhneiti February 22, 2013 10:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready