Rainbows! Rack HTTP server user/dev discussion
 help / color / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
						download: 
* [ANN] Rainbows! 0.90.1 - EM::Deferrables and quieter Threads
@ 2009-12-30 10:34  7% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2009-12-30 10:34 UTC (permalink / raw)
  To: ruby-talk@

Rainbows! is an HTTP server for sleepy Rack applications.  It is based on
Unicorn, but designed to handle applications that expect long
request/response times and/or slow clients.  For Rack applications not
heavily bound by slow external network dependencies, consider Unicorn
instead as it simpler and easier to debug.

* http://rainbows.rubyforge.org/
* rainbows-talk@rubyforge.org
* git://git.bogomips.org/rainbows.git

Changes:

This release contains minor bugfixes/compatibility improvements
for ThreadSpawn, ThreadPool and EventMachine users.

Excessive error messages from spurious wakeups using
ThreadSpawn/ThreadPool under most platforms are silenced.  Only
Ruby 1.9 users under Linux were unaffected by this bug.

EventMachine users may now use EM::Deferrable objects in
responses, vastly improving compatibility with existing
async_sinatra apps.

-- 
Eric Wong



^ permalink raw reply	[relevance 7%]

* Re: deferrable bodies in Rainbows!
       [not found]               ` <20091226232732.GA26351-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
@ 2009-12-30 10:47  7%             ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2009-12-30 10:47 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw; +Cc: rack-devel-/JYPxA39Uh5TLH3MbocFFw

Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org> wrote:
> Moving to rainbows list
> 
> James Tucker <jftucker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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


^ permalink raw reply	[relevance 7%]

Results 1-2 of 2 | reverse results
2009-12-30 10:34  7% [ANN] Rainbows! 0.90.1 - EM::Deferrables and quieter Threads Eric Wong
     [not found]     <9363563c-cbd4-498f-b9ee-b3ee83fa15b8@r5g2000yqb.googlegroups.com>
     [not found]     ` <20091224224956.GB4847@dcvr.yhbt.net>
     [not found]       ` <1c5622660912241540v74329427nd1053b6e602e6506@mail.gmail.com>
     [not found]         ` <20091225002451.GA1821@dcvr.yhbt.net>
     [not found]           ` <AA4E98A6-3E73-49B5-8B43-B1E7718365A9@gmail.com>
2009-12-26 23:27             ` deferrable bodies in Rainbows! Eric Wong
     [not found]               ` <20091226232732.GA26351-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2009-12-30 10:47  7%             ` Eric Wong


Rainbows! Rack HTTP server user/dev discussion

Archives are clonable:
	git clone --mirror https://yhbt.net/rainbows-public
	git clone --mirror http://ou63pmih66umazou.onion/rainbows-public

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git