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: synchronous controllers taking 6 seconds in Eventmachine config Date: Fri, 17 Sep 2010 09:00:27 +0000 Message-ID: <20100917090027.GA6312@dcvr.yhbt.net> References: <2B157204-E5C6-4F5D-98A9-E2A79F9F9765@christophsturm.com> <20100915185007.GA13709@dcvr.yhbt.net> <97F7A036-4DA6-4CF3-B842-5870F7DE59E7@gmail.com> <20100915210404.GA21719@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 1284714008 1309 80.91.229.12 (17 Sep 2010 09:00:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 09:00:08 +0000 (UTC) To: Rainbows! list Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Fri Sep 17 11:00: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: <20100915210404.GA21719-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org> 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:135 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OwWnb-0001Q2-Qp for gclrrg-rainbows-talk@m.gmane.org; Fri, 17 Sep 2010 11:00:04 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 18E801858354 for ; Fri, 17 Sep 2010 05:00:00 -0400 (EDT) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id C71031858356 for ; Fri, 17 Sep 2010 04:59:58 -0400 (EDT) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id 46DED2BC005; Fri, 17 Sep 2010 08:59:53 +0000 (UTC) Eric Wong wrote: > James Tucker wrote: > > If the request is sync, then you can close connection after body.each > > returns, else you need to use the deferrable api callback in > > deferrable bodies wiht the async api. > > The EM deferrable doesn't do keepalive right now, and may not ever > because (I assume) it's used for long-polling and such. Would supporting keepalive for people using "async.callback" help some folks? As of 0.97.0, it's possible to disable keepalive entirely across all concurrency models, so perhaps allowing the app to specify the "Connection" header is helpful, too... -- 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