From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: * X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=1.0 required=3.0 tests=AWL,HK_RANDOM_FROM, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=no version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.rainbows.general Subject: Re: rails 2 and slow external services Date: Tue, 14 Dec 2010 07:49:44 +0000 Message-ID: <20101214074944.GA13496@dcvr.yhbt.net> References: <20101213103936.GA8440@dcvr.yhbt.net> <20101214045720.GC5051@dcvr.yhbt.net> <20101214063552.GA12020@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292313674 27596 80.91.229.12 (14 Dec 2010 08:01:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2010 08:01:14 +0000 (UTC) To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Tue Dec 14 09:01:07 2010 Return-path: Envelope-to: gclrrg-rainbows-talk@m.gmane.org X-Original-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Delivered-To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.rainbows.general:173 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PSPop-0006vv-8A for gclrrg-rainbows-talk@m.gmane.org; Tue, 14 Dec 2010 09:01:07 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id B1F951858375; Tue, 14 Dec 2010 03:01:05 -0500 (EST) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id C17EE185836C for ; Tue, 14 Dec 2010 02:49:44 -0500 (EST) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id 216401F8D9; Tue, 14 Dec 2010 07:49:44 +0000 (UTC) ghazel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > I'm not sure how I would know that - I'm not actually sure which > timeout you mean. "timeout" in the config/unicorn.rb and > config/rainbows.rb is 300, same as proxy_read_timeout. Is that it? Are > you saying when that is hit that Rainbows! and Unicorn act > differently? Yes, the purpose of the "timeout" in the Unicorn config has always been to kill unrecoverably stuck processes, Rainbows! just enforces that more strictly. The simple nature of Unicorn allows lazy people can use it to avoid adding timeouts to their code without causing harm to other clients. Since Rainbows! is designed to serve multiple clients in the same process, killing a process would break all the clients on the process, not just the one client that triggered the timeout. So using Rainbows! requires more discipline from the application authors than Unicorn. -- Eric Wong _______________________________________________ Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/rainbows-talk Do not quote signatures (like this one) or top post when replying