* re: multi server failover setup
@ 2009-10-26 19:34 Dylan Stamat
2009-10-26 19:42 ` Chris Wanstrath
0 siblings, 1 reply; 4+ messages in thread
From: Dylan Stamat @ 2009-10-26 19:34 UTC (permalink / raw)
To: mongrel-unicorn
Eric, have you heard of anybody using the idea you laid out here?
http://article.gmane.org/gmane.comp.lang.ruby.unicorn.general/31
I really like the approach, and hoping I'm not going to be the first
one trying it ;)
I noticed that Mr. Wanstrath is using UDS in his deployment here: http://github.com/blog/517-unicorn
Wondering if they're running with the same or similar strategy as your
suggestion?
Our application is long-running-request heavy, so we may actually be a
Rainbows! candidate.
Thanks!
==
Dylan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: multi server failover setup
2009-10-26 19:34 multi server failover setup Dylan Stamat
@ 2009-10-26 19:42 ` Chris Wanstrath
2009-10-26 21:42 ` Eric Wong
0 siblings, 1 reply; 4+ messages in thread
From: Chris Wanstrath @ 2009-10-26 19:42 UTC (permalink / raw)
To: unicorn list
On Mon, Oct 26, 2009 at 12:34 PM, Dylan Stamat <dstamat@elctech.com> wrote:
> I noticed that Mr. Wanstrath is using UDS in his deployment here:
> http://github.com/blog/517-unicorn
> Wondering if they're running with the same or similar strategy as your
> suggestion?
We're currently not using this strategy. Perhaps in the future, but
currently we're still trying to completely isolate the various
services within our app - when nginx or Unicorn chokes presently, they
all do. Once that's fixed we'll begin looking into this or something
similar.
--
Chris Wanstrath
http://github.com/defunkt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: multi server failover setup
2009-10-26 19:42 ` Chris Wanstrath
@ 2009-10-26 21:42 ` Eric Wong
2009-10-26 21:47 ` Chris Wanstrath
0 siblings, 1 reply; 4+ messages in thread
From: Eric Wong @ 2009-10-26 21:42 UTC (permalink / raw)
To: unicorn list
Chris Wanstrath <chris@ozmm.org> wrote:
> On Mon, Oct 26, 2009 at 12:34 PM, Dylan Stamat <dstamat@elctech.com> wrote:
> > I noticed that Mr. Wanstrath is using UDS in his deployment here:
> > http://github.com/blog/517-unicorn
> > Wondering if they're running with the same or similar strategy as your
> > suggestion?
>
> We're currently not using this strategy. Perhaps in the future, but
> currently we're still trying to completely isolate the various
> services within our app - when nginx or Unicorn chokes presently, they
> all do. Once that's fixed we'll begin looking into this or something
> similar.
By Unicorn choking you mean something in your app chokes, right? :)
Is this something adding fail_timeout=0 in nginx can fix/workaround?
Not sure where nginx itself would choke besides uncached disk reads
or somehow writing a lot of logs.
That said I myself haven't gotten a chance to test that setup I proposed
for a while (except the nginx fail_timeout=0 part, I've gotten folks
running with that for ages now).
--
Eric Wong
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: multi server failover setup
2009-10-26 21:42 ` Eric Wong
@ 2009-10-26 21:47 ` Chris Wanstrath
0 siblings, 0 replies; 4+ messages in thread
From: Chris Wanstrath @ 2009-10-26 21:47 UTC (permalink / raw)
To: unicorn list
On Mon, Oct 26, 2009 at 2:42 PM, Eric Wong <normalperson@yhbt.net> wrote:
>> We're currently not using this strategy. Perhaps in the future, but
>> currently we're still trying to completely isolate the various
>> services within our app - when nginx or Unicorn chokes presently, they
>> all do. Once that's fixed we'll begin looking into this or something
>> similar.
>
> By Unicorn choking you mean something in your app chokes, right? :)
> Is this something adding fail_timeout=0 in nginx can fix/workaround?
Yes, our app itself. Unicorn has been amazingly solid for us, as has nginx.
We've added fail_timeout=0 into our config as per your suggestion and
it's helped a lot. Still doesn't fix bugs in our app code though :)
--
Chris Wanstrath
http://github.com/defunkt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-26 22:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-26 19:34 multi server failover setup Dylan Stamat
2009-10-26 19:42 ` Chris Wanstrath
2009-10-26 21:42 ` Eric Wong
2009-10-26 21:47 ` Chris Wanstrath
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).