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: deferrable bodies in Rainbows! Date: Wed, 30 Dec 2009 10:47:29 +0000 Message-ID: <20091230104729.GA26287@dcvr.yhbt.net> References: <9363563c-cbd4-498f-b9ee-b3ee83fa15b8@r5g2000yqb.googlegroups.com> <20091224224956.GB4847@dcvr.yhbt.net> <1c5622660912241540v74329427nd1053b6e602e6506@mail.gmail.com> <20091225002451.GA1821@dcvr.yhbt.net> <20091226232732.GA26351@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: ger.gmane.org 1262170605 10717 80.91.229.12 (30 Dec 2009 10:56:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Dec 2009 10:56:45 +0000 (UTC) Cc: rack-devel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: rainbows-talk-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Wed Dec 30 11:56:38 2009 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: <20091226232732.GA26351-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:64 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1NPwEH-0003CK-4r for gclrrg-rainbows-talk@m.gmane.org; Wed, 30 Dec 2009 11:56:37 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 4C0FE1D78875; Wed, 30 Dec 2009 05:56:37 -0500 (EST) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id B0D5D1D78875 for ; Wed, 30 Dec 2009 05:47:30 -0500 (EST) Received: from localhost (dcvr.yhbt.net [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPSA id 5B7391F542; Wed, 30 Dec 2009 10:47:30 +0000 (UTC) Eric Wong wrote: > Moving to rainbows list > > James Tucker wrote: > > Eric - I had a report from one of the async_sinatra users who tried > > out rainbows with EM, and found that the API didn't actually line up > > with what Thin was doing. I really want to devote some more time with > > this but I've been very busy. Sadly due to this I don't want to say > > stop, but, well, I want to say please check existing apps against it. > > I guess could you check async_*.ru from > > github.com/macournoyer/thin/master/tree/examples/async_*.ru, as from > > what was reported, they're not working with the rainbows > > implementation of the deferrablebody hacks. > > Hi James, thhanks for the heads up. > > Rainbows! doesn't handle deferrable bodies yet (I didn't look closely enough > the first time around), so it can't do everything Thin does with EM, yet. > It's already in the TODO, I'll make a mental note to work on it sooner. Rainbows! 0.90.1 should support deferrable bodies needed for async apps on EM. I stole the async_app.ru and async_tailer.ru examples from Thin and made them a part of the integration tests (in t/t04??-*.sh). The app.deferred?(env) isn't supported, yet. It's in the TODO and I don't think many people use it... (correct me if I'm wrong). -- 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