Hello all, I''m wondering if you deploy nginx: 1) on the same machine that runs unicorn (exclusively proxying to that) 2) on a different machine that doesn''t run unicorn 3) both, nginx could forward to either to localhost or another host on the same LAN And of course, the reason(s) you chose what you chose. I''m inclined to believe many folks are on 1) simply because they only have one machine. Thanks in advance for your replies, I''m always interested in hearing user experiences with unicorn.
I have 9 machines each running nginx + unicorn. Maybe that''s not the best setup.. On Mon, Nov 14, 2011 at 1:56 PM, Eric Wong <normalperson at yhbt.net> wrote:> > Hello all, I''m wondering if you deploy nginx: > > 1) on the same machine that runs unicorn (exclusively proxying to that) > > 2) on a different machine that doesn''t run unicorn > > 3) both, nginx could forward to either to localhost > ? or another host on the same LAN > > And of course, the reason(s) you chose what you chose. ?I''m inclined > to believe many folks are on 1) simply because they only have one > machine. > > Thanks in advance for your replies, I''m always interested in > hearing user experiences with unicorn. > _______________________________________________ > Unicorn mailing list - mongrel-unicorn at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-unicorn > Do not quote signatures (like this one) or top post when replying
We run Nginx+Unicorn on each app server (we have several), and then have HAProxy in front of the whole thing. This is basically due to it being the setup for Engine Yard. On Mon, Nov 14, 2011 at 1:56 PM, Eric Wong <normalperson at yhbt.net> wrote:> Hello all, I''m wondering if you deploy nginx: > > 1) on the same machine that runs unicorn (exclusively proxying to that) > > 2) on a different machine that doesn''t run unicorn > > 3) both, nginx could forward to either to localhost > ? or another host on the same LAN > > And of course, the reason(s) you chose what you chose. ?I''m inclined > to believe many folks are on 1) simply because they only have one > machine. > > Thanks in advance for your replies, I''m always interested in > hearing user experiences with unicorn. > _______________________________________________ > Unicorn mailing list - mongrel-unicorn at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-unicorn > Do not quote signatures (like this one) or top post when replying >-- Christopher Bailey Cobalt Edge LLC http://cobaltedge.com
We run nginx and unicorn on the same instance, behind HAProxy. We run it this way because it means fewer instances, and the nginx processes don''t seem to require many system resources, so we don''t have a resource constraint problem by putting them on the same instance. -- Alex Sharp Zaarly, Inc. @ajsharp | github.com/ajsharp | alexjsharp.com On Monday, November 14, 2011 at 1:56 PM, Eric Wong wrote:> Hello all, I''m wondering if you deploy nginx: > > 1) on the same machine that runs unicorn (exclusively proxying to that) > > 2) on a different machine that doesn''t run unicorn > > 3) both, nginx could forward to either to localhost > or another host on the same LAN > > And of course, the reason(s) you chose what you chose. I''m inclined > to believe many folks are on 1) simply because they only have one > machine. > > Thanks in advance for your replies, I''m always interested in > hearing user experiences with unicorn.