From: Max Lapshin <max.lapshin@gmail.com> To: rack-devel@googlegroups.com Subject: Rack adapter for Erlang HTTP server Cowboy Date: Sat, 5 Nov 2011 15:57:46 -0700 (PDT) [thread overview] Message-ID: <4111905.283.1320533866100.JavaMail.geo-discussion-forums@yqhd1> (raw) [-- 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 --]
reply other threads:[~2011-11-05 23:01 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4111905.283.1320533866100.JavaMail.geo-discussion-forums@yqhd1 \ --to=rack-devel@googlegroups.com \ --subject='Re: Rack adapter for Erlang HTTP server Cowboy' \ /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
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).