2010/10/5 Frédéric Sidler <[email protected]>:
> First (maybe stupid) question. Why do you use ELB and Nginx at the same
> time. They are supposed to do the same: load balacing the requests.
Hi Frédéric,
Nginx can do more than ELB: can be configured to cache some resources
(static files, as images, js, css) and serve it directly without any
load on the application server (app-role in Scalr): this is a
performance enhancement because Nginx scale better than Apache.
In this configuration if you want to make statistics based on logfiles
(awstats, Urchin, etc..), you must use the logfiles of Nginx, that has
the full list of requests of the clients, while the app-server has
only the requests that the proxy has made to him.

The simpler way to have this configuration in HA on Scalr is to
balance nginx with ELB, while Nginx balances all your apache
instances. Anyone has a better one?

L.

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

Reply via email to