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
On Mon, Oct 26, 2009 at 12:34 PM, Dylan Stamat <dstamat at 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
Chris Wanstrath <chris at ozmm.org> wrote:> On Mon, Oct 26, 2009 at 12:34 PM, Dylan Stamat <dstamat at 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
On Mon, Oct 26, 2009 at 2:42 PM, Eric Wong <normalperson at 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