rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: rack-devel@googlegroups.com
Subject: Re: streaming api
Date: Thu, 4 Feb 2010 02:41:22 -0800	[thread overview]
Message-ID: <20100204104122.GB29636@dcvr.yhbt.net> (raw)
In-Reply-To: <20100204103926.GA29636@dcvr.yhbt.net>

Eric Wong <normalperson@yhbt.net> wrote:
> Randy Fischer <randy.fischer@gmail.com> wrote:
> > > Rack already lets you stream the body.  The body response only has to
> > > respond to #each and the #each call can delay as much as it wants.  Ruby
> > > 1.8 has (somewhat) cheap threads, and 1.9 has even cheaper Fibers so
> > > you can sleep synchronously inside them.
> > >
> > I'm more interested in getting streaming content on the request
> > side of things (go ahead and parse the headers,  then just give
> > me an IO object on the content).

Nevermind, I didn't notice the "request side" of things, I need sleep :x

-- 
Eric Wong

  reply	other threads:[~2010-02-04 10:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03  4:47 streaming api Dominic Sisneros
2010-02-03 10:59 ` Eric Wong
2010-02-03 18:14   ` Randy Fischer
2010-02-04 10:32     ` James Tucker
2010-02-04 10:39     ` Eric Wong
2010-02-04 10:41       ` Eric Wong [this message]
2010-02-04 15:00         ` Tom Robinson
2010-02-04 16:34           ` James Tucker
2010-02-03 11:02 ` James Tucker
2010-02-03 18:08   ` Jeremy Hinegardner
2010-02-03 11:25 ` Tom Robinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://groups.google.com/group/rack-devel

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100204104122.GB29636@dcvr.yhbt.net \
    --to=rack-devel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).