rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* Rack adapter for Erlang HTTP server Cowboy
@ 2011-11-05 22:57 Max Lapshin
  0 siblings, 0 replies; only message in thread
From: Max Lapshin @ 2011-11-05 22:57 UTC (permalink / raw)
  To: rack-devel

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

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.


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-05 23:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-05 22:57 Rack adapter for Erlang HTTP server Cowboy Max Lapshin

Code repositories for project(s) associated with this inbox:

	https://80x24.org/mirrors/rack.git

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).