From: Graham Batty <graham@stormbrew.ca>
To: rack-devel@googlegroups.com
Subject: Re: teaching Rack to communicate over SPDY instead of HTTP
Date: Fri, 17 Jun 2011 00:23:28 -0600 [thread overview]
Message-ID: <4DFAF2E0.1040407@stormbrew.ca> (raw)
In-Reply-To: <4DFAF1A3.8070909@bwagener.de>
Benjamin Wagener wrote:
> Hello everyone,
>
> I would like to use Ruby on Rails with SPDY. Therefore I have some
> questions:
> * Is it possible to teach Rack to use an other protocol than HTTP
> without completely rebuilding it?
> * If it is possible to change the protocol, do you think it would be
> realistic viable to solve the implementation of the other protocol in
> Rack in about two weeks time by a single person?
> * If you think this is really possible, where would you start the
> implementation or rather what parts of Rack should be considered most?
> I would be very thankful for your assessment, because this
> implementation should be only a small step in the whole project and
> shouldn't take to much time because of that.
> Many thanks in advance!
> Benjamin
Rack doesn't really speak any protocols. Rack is an API for interfacing
server software with applications. In order to have a rack app 'speak'
SPDY, all that needs to happen is for a Rack-capable server to be able
to speak SPDY and appropriately call the application.
In fact, in the Rack distribution there are already two non-HTTP
protocol servers: CGI and FastCGI. SPDY is not really any different in
nature than any of these. It supports some advanced features that would
be difficult to work into the 1 request, 1 reply architecture of Rack,
but even that's probably not insurmountable.
There appears to already be a Rack SPDY server, btw:
https://github.com/romanbsd/spdy
I can't make any claims about how well it works, though. If you need
this, you should probably give it a try.
Graham.
next prev parent reply other threads:[~2011-06-17 6:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-17 6:18 teaching Rack to communicate over SPDY instead of HTTP Benjamin Wagener
2011-06-17 6:23 ` Graham Batty [this message]
2011-06-17 6:43 ` Benjamin Wagener
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=4DFAF2E0.1040407@stormbrew.ca \
--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).