Re: Nginx receiving bytes from Amazon ELB (Performance Issue)

2014-05-08 Thread Maxim Dounin
Hello! On Thu, May 08, 2014 at 02:47:47PM +1200, Nicholas Sherlock wrote: > On 8 May 2014 06:05, rodrigo.aiello wrote: > > > Nginx is receiving the bytes and then > > delivering. I wonder if anyone has gone through this problem and found a > > better solution. As already suggested, the origina

Re: Nginx receiving bytes from Amazon ELB (Performance Issue)

2014-05-07 Thread Nicholas Sherlock
On 8 May 2014 06:05, rodrigo.aiello wrote: > Nginx is receiving the bytes and then > delivering. I wonder if anyone has gone through this problem and found a > better solution. Indeed, Nginx reads the whole response from the backend before a single byte is sent to the client. That can add laten

Re: Nginx receiving bytes from Amazon ELB (Performance Issue)

2014-05-07 Thread rodrigo.aiello
Jonathan Matthews Wrote: --- > On 7 May 2014 19:05, rodrigo.aiello wrote: > > requests are taking too long to process > [snip] > > 1 EC2 Micro (Nginx) > > I found your problem. Micro instances are a false economy. Stop using > them. > > ___

Re: Nginx receiving bytes from Amazon ELB (Performance Issue)

2014-05-07 Thread Jonathan Matthews
On 7 May 2014 19:05, rodrigo.aiello wrote: > requests are taking too long to process [snip] > 1 EC2 Micro (Nginx) I found your problem. Micro instances are a false economy. Stop using them. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.or

Nginx receiving bytes from Amazon ELB (Performance Issue)

2014-05-07 Thread rodrigo.aiello
I have a service in my java application that I get the id of an image, height and width. I do image resizing according to the provided dimensions and return the bytes. As I am using a nginx in front of application server(tomcat), requests are taking too long to process because nginx is on a differe