From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.70.129 with SMTP id d1cs8967qcj; Thu, 16 Jun 2011 23:44:09 -0700 (PDT) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCPzD_IPRERC27-vvBBoEisP7xQ@googlegroups.com designates 10.223.30.152 as permitted sender) client-ip=10.223.30.152; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCPzD_IPRERC27-vvBBoEisP7xQ@googlegroups.com designates 10.223.30.152 as permitted sender) smtp.mail=rack-devel+bncCPzD_IPRERC27-vvBBoEisP7xQ@googlegroups.com; dkim=pass header.i=rack-devel+bncCPzD_IPRERC27-vvBBoEisP7xQ@googlegroups.com Received: from mr.google.com ([10.223.30.152]) by 10.223.30.152 with SMTP id u24mr1015710fac.5.1308293048523 (num_hops = 1); Thu, 16 Jun 2011 23:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:x-beenthere:received-spf:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; bh=wt2Wey5TOIaWVz1/rSvpSbNKysgyMQkEdCSF+Oymn/A=; b=GLL+PAiVFdD6LvZ1cRaIDaFleRon1aF/srvzCrw283gcuVBFrv9+nGl9zPUDVHT1+l 4qTd4/4r5QFWPiYhRVEBUNsZF6u9G0wFo+m22QpsYIpwWPNJcmnVkVxuzZjvZOsS667G BuBZCMBFHznuj6c4RHOMwa/ALRt07P2ZV4Vqo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:message-id:date:from:user-agent :mime-version:to:subject:references:in-reply-to:x-enigmail-version :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type:content-transfer-encoding; b=HxLIT1/A4V6rCYbhjpwW0ReT2NeixRujfdry3gAUPwjIaKaJuYDJuMN+dJfdU9yKpa q8dU+Wl1mDAqHXe+v1wHnRSjDfPqS/O4PWhBL54MlCdzNM0fECXzdqvFdt9O5me/BJAQ 93JodV04Ti55+B6/lLAukajDWunuyu/8HfYR4= Received: by 10.223.30.152 with SMTP id u24mr314931fac.5.1308293046367; Thu, 16 Jun 2011 23:44:06 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.204.166.66 with SMTP id l2ls1044072bky.2.gmail; Thu, 16 Jun 2011 23:44:05 -0700 (PDT) Received: by 10.204.10.141 with SMTP id p13mr149515bkp.4.1308293045155; Thu, 16 Jun 2011 23:44:05 -0700 (PDT) Received: by 10.204.10.141 with SMTP id p13mr149514bkp.4.1308293045136; Thu, 16 Jun 2011 23:44:05 -0700 (PDT) Received: from srv3.sysproserver.de (srv3.sysproserver.de. [78.138.89.51]) by gmr-mx.google.com with ESMTPS id z8si946492fae.0.2011.06.16.23.44.04 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 16 Jun 2011 23:44:04 -0700 (PDT) Received-SPF: neutral (google.com: 78.138.89.51 is neither permitted nor denied by best guess record for domain of bwagener@bwagener.de) client-ip=78.138.89.51; Received: from [192.168.2.100] (dslb-088-071-206-027.pools.arcor-ip.net [88.71.206.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by srv3.sysproserver.de (Postfix) with ESMTPSA id 46192108002 for ; Fri, 17 Jun 2011 08:44:04 +0200 (CEST) Message-ID: <4DFAF7AF.3020706@bwagener.de> Date: Fri, 17 Jun 2011 08:43:59 +0200 From: Benjamin Wagener User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: rack-devel@googlegroups.com Subject: Re: teaching Rack to communicate over SPDY instead of HTTP References: <4DFAF1A3.8070909@bwagener.de> <4DFAF2E0.1040407@stormbrew.ca> In-Reply-To: <4DFAF2E0.1040407@stormbrew.ca> X-Enigmail-Version: 1.1.2 X-Original-Sender: bwagener@bwagener.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 78.138.89.51 is neither permitted nor denied by best guess record for domain of bwagener@bwagener.de) smtp.mail=bwagener@bwagener.de Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 17.06.2011 08:23, Graham Batty wrote: > 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. Thank you very much for your suggestion. When I read the code of Rack I saw so much HTTP-requests and so on that I thought it would be necessary to change that for SPDY-compatibility. I also searched for already done implementations of SPDY-server for Rails but only found the basic server in ruby by Ilya Grigorik[1]. I will test the other server, but if there is someone with some more suggestions for this subject, I would still appreciate very much if you would share them with me. Thanks again Benjamin [1]: https://github.com/igrigorik/spdy