unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* nginx + unicorn deployment survey
@ 2011-11-14 21:56 Eric Wong
  2011-11-15  2:00 ` Jason Su
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Wong @ 2011-11-14 21:56 UTC (permalink / raw)
  To: unicorn list

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@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nginx + unicorn deployment survey
  2011-11-14 21:56 nginx + unicorn deployment survey Eric Wong
@ 2011-11-15  2:00 ` Jason Su
  2011-11-15  5:07 ` Christopher Bailey
  2011-11-15 17:47 ` Alex Sharp
  2 siblings, 0 replies; 4+ messages in thread
From: Jason Su @ 2011-11-15  2:00 UTC (permalink / raw)
  To: unicorn list

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@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@rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-unicorn
> Do not quote signatures (like this one) or top post when replying
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nginx + unicorn deployment survey
  2011-11-14 21:56 nginx + unicorn deployment survey Eric Wong
  2011-11-15  2:00 ` Jason Su
@ 2011-11-15  5:07 ` Christopher Bailey
  2011-11-15 17:47 ` Alex Sharp
  2 siblings, 0 replies; 4+ messages in thread
From: Christopher Bailey @ 2011-11-15  5:07 UTC (permalink / raw)
  To: unicorn list

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@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@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
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: nginx + unicorn deployment survey
  2011-11-14 21:56 nginx + unicorn deployment survey Eric Wong
  2011-11-15  2:00 ` Jason Su
  2011-11-15  5:07 ` Christopher Bailey
@ 2011-11-15 17:47 ` Alex Sharp
  2 siblings, 0 replies; 4+ messages in thread
From: Alex Sharp @ 2011-11-15 17:47 UTC (permalink / raw)
  To: unicorn list

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.



_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-15 20:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-14 21:56 nginx + unicorn deployment survey Eric Wong
2011-11-15  2:00 ` Jason Su
2011-11-15  5:07 ` Christopher Bailey
2011-11-15 17:47 ` Alex Sharp

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).