unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Alex Sharp <ajsharp@gmail.com>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: nginx + unicorn deployment survey
Date: Tue, 15 Nov 2011 09:47:05 -0800	[thread overview]
Message-ID: <EF4DC19928AA459D8E4E9C0DECD491C8@gmail.com> (raw)
In-Reply-To: <20111114215624.GB22715@dcvr.yhbt.net>

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

      parent reply	other threads:[~2011-11-15 20:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=EF4DC19928AA459D8E4E9C0DECD491C8@gmail.com \
    --to=ajsharp@gmail.com \
    --cc=mongrel-unicorn@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).