Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* Re: [ANN] Rainbows! 0.3.0 w/ DeferredResponse for Rev
       [not found]     ` <20091019182712.GA11442-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
@ 2009-10-19 21:30  7%   ` Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2009-10-19 21:30 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org> wrote:
> Changes:
> 
> The major feature of this release is the new DeferredResponse
                That should be DevFdResponse --^^^^^^^^^^^^^^^^
> middleware for the Rev-based concurrency model.  It should be

-- 
Eric Wong

^ permalink raw reply	[relevance 7%]

* Re: Single Threaded Async Responses
       [not found]     ` <0956CE27-14FE-42DF-BAD9-CED31B09D85D-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2009-10-19 18:33  6%   ` Eric Wong
  0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2009-10-19 18:33 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

James Tucker <jftucker-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi Eric and anyone else listening in,
>
> I completed an async API for Thin quite some time ago well suited to  
> some of the design goals you have here. If you're interested we could  
> have a chat about supporting the same API designs that allow single  
> threaded reactor based concurrent responses. I believe such an API would 
> fit well in rainbows too.

Hi James,

I've looked at Thin and added this as a TODO item for Rainbows! once
EventMachine support gets added.

For now, we also have an a (more Rack-compatible[1] but certain
Unices-only[2]) API which relies on passing file descriptors to Rev in
Rainbows! 0.3.0.

[1] - The only thing that keeps it from running correctly under
      Rack::Lint is that Rack::Lint doesn't pass body#to_path calls
      to up the stack even though it _allows_ it.

[2] - Most Unices seem to support /dev/fd/#{io.fileno}
      to lookup the contents of the file descriptor table.

-- 
Eric Wong

^ permalink raw reply	[relevance 6%]

* [ANN] Rainbows! 0.3.0 w/ DeferredResponse for Rev
@ 2009-10-19 18:27  6% Eric Wong
       [not found]     ` <20091019182712.GA11442-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
  0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2009-10-19 18:27 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

Rainbows! is a 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-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
* git://git.bogomips.org/rainbows.git

Changes:

The major feature of this release is the new DeferredResponse
middleware for the Rev-based concurrency model.  It should be
transparently compatible with non-Rev models, as well.  As a
pleasant side effect, this change also allows large files to be
streamed to the client with Rev as the socket becomes writable
instead of slurping the entire file into an IO::Buffer first.

Bugfixes to graceful shutdowns support for all concurrency
models.  The Rev-based model also gets a working heartbeat
mechanism (oops!) and fixed HTTP/1.1 pipelining support.

-- 
Eric Wong

^ permalink raw reply	[relevance 6%]

Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-10-05 22:10     Single Threaded Async Responses James Tucker
     [not found]     ` <0956CE27-14FE-42DF-BAD9-CED31B09D85D-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-10-19 18:33  6%   ` Eric Wong
2009-10-19 18:27  6% [ANN] Rainbows! 0.3.0 w/ DeferredResponse for Rev Eric Wong
     [not found]     ` <20091019182712.GA11442-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org>
2009-10-19 21:30  7%   ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/rainbows.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).