From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.229.6.76 with SMTP id 12cs174819qcy; Sat, 5 Nov 2011 16:01:55 -0700 (PDT) Return-Path: Received-SPF: pass (google.com: domain of rack-devel+bncCJPQv8uOFBDfgNf1BBoEFNmb_w@googlegroups.com designates 10.224.105.199 as permitted sender) client-ip=10.224.105.199; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rack-devel+bncCJPQv8uOFBDfgNf1BBoEFNmb_w@googlegroups.com designates 10.224.105.199 as permitted sender) smtp.mail=rack-devel+bncCJPQv8uOFBDfgNf1BBoEFNmb_w@googlegroups.com; dkim=pass header.i=rack-devel+bncCJPQv8uOFBDfgNf1BBoEFNmb_w@googlegroups.com Received: from mr.google.com ([10.224.105.199]) by 10.224.105.199 with SMTP id u7mr228715qao.17.1320534114111 (num_hops = 1); Sat, 05 Nov 2011 16:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:date:from:reply-to:to:message-id:subject:mime-version :x-original-sender:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=AI6oBNB4lAIxdtp/vYsLXanGZnK6Osy6/cyBN4HOawA=; b=FaklKi2xeS1+MTGoS8Q+l+uItPbf04B6aUPb9+/JSfvT369gVDQlIbIf4j8wN2d0pA nUUPLQOw+YMmbRmm+2FHlwgfgCPub4NFc9DnxsXFo4w0aQBFFoCSVMKtPx/JDnVJKTHh a+h4+B7tWtqcWPkGEg7PFPCa9vrsqewJ2LCR8= Received: by 10.224.105.199 with SMTP id u7mr70791qao.17.1320534111116; Sat, 05 Nov 2011 16:01:51 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.224.6.80 with SMTP id 16ls6692377qay.7.gmail; Sat, 05 Nov 2011 16:01:50 -0700 (PDT) Received: by 10.224.186.72 with SMTP id cr8mr8234938qab.2.1320534110458; Sat, 05 Nov 2011 16:01:50 -0700 (PDT) Received: by 10.224.172.138 with SMTP id l10msqaz; Sat, 5 Nov 2011 15:57:46 -0700 (PDT) Received: by 10.224.217.136 with SMTP id hm8mr4131230qab.8.1320533866653; Sat, 05 Nov 2011 15:57:46 -0700 (PDT) Date: Sat, 5 Nov 2011 15:57:46 -0700 (PDT) From: Max Lapshin Reply-To: rack-devel@googlegroups.com To: rack-devel@googlegroups.com Message-ID: <4111905.283.1320533866100.JavaMail.geo-discussion-forums@yqhd1> Subject: Rack adapter for Erlang HTTP server Cowboy MIME-Version: 1.0 X-Original-Sender: max.lapshin@gmail.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: multipart/alternative; boundary="----=_Part_282_9750934.1320533866098" ------=_Part_282_9750934.1320533866098 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, everyone. I've written q'n'd adapter for cowboy (http server written in Erlang) to start Ruby on Rails application behind erlang HTTP server and pass requests to it: https://github.com/erlyvideo/rack I've added example to start application, which is copy-paste-compatible with cowboy-example repository, so it should work. For those, who haven't understood anything. Cowboy is a HTTP server, written in Erlang. I've created some code in Erlang (and small adapter in Ruby), that converts erlang http request structures to Rack request. Also it can spawn and handle several working processes of Rack application (Rails for example). It is possible to combine Rack with https://github.com/extend/bullet to get Comet messaging without pack of hard-to-deploy servers (nginx doesn't have builtin Comet yet). If you are interested, there is example-app inside in repository. Speed is rather high: starting from 6000 requests per second, handled by Rack through Cowboy on my laptop. ------=_Part_282_9750934.1320533866098 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, everyone.

I've written q'n'd adapter for cowboy (http server wri= tten in Erlang) to start Ruby on Rails application behind erlang HTTP serve= r
and pass requests to it:   https://github.com/erlyvideo/rack  = I've added example to start application, which is

copy-paste-compatib= le with cowboy-example repository, so it should work.


For those, = who haven't understood anything.

Cowboy is a HTTP server, written in = Erlang. I've created some code in Erlang (and small adapter in Ruby), that = converts erlang http request structures to Rack request.

Also it can = spawn and handle several working processes of Rack application (Rails for e= xample).

It is possible to combine Rack with https://github.com/extend/b= ullet
to get Comet messaging without pack of hard-to-deploy servers = (nginx
doesn't have builtin Comet yet).

If you are interested, there = is example-app inside in repository.

Speed is rather high: starting = from 6000 requests per second, handled by Rack through Cowboy on my laptop.=

------=_Part_282_9750934.1320533866098--