rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: "P ." <pat@polycrystal.org>
To: rack-devel@googlegroups.com
Subject: Rack asynchronous responses with async.callback
Date: Sun, 15 Apr 2012 17:41:07 -0700 (PDT)	[thread overview]
Message-ID: <11588923.816.1334536867088.JavaMail.geo-discussion-forums@vbhy13> (raw)

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

I am doing some work with JRuby that may need asynchronous HTTP support.  
There doesn't seem to be much documentation about this online, so I did 
some digging to see how the existing Rack async servers do things, and 
wrote up some documentation for myself.  I thought maybe others would find 
it useful: 
http://polycrystal.org/2012/04/15/asynchronous_responses_in_rack.html

I also found some posts from a couple years ago implying that 
'async.callback' will never be a part of the Rack specification: 

https://groups.google.com/forum/?fromgroups#!searchin/rack-devel/async/rack-devel/fu58paleLJg/frwK57QHNn4J

Is this still the case?  I must say I'm a bit disappointed by this 
discovery, but I don't fully understand all the issues (in particular, my 
documentation above ignores interaction with middleware).

[-- Attachment #2: Type: text/html, Size: 1053 bytes --]

             reply	other threads:[~2012-04-16  6:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16  0:41 P . [this message]
2012-04-16  7:40 ` Rack asynchronous responses with async.callback Konstantin Haase

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=11588923.816.1334536867088.JavaMail.geo-discussion-forums@vbhy13 \
    --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).