From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.mongrel.devel,gmane.comp.lang.ruby.mongrel.general Subject: Re: [Mongrel] Mongrel, cross compilation, Echoe and rake-compiler Date: Sun, 26 Apr 2009 20:48:06 -0700 Message-ID: <20090427034806.GA15943@dcvr.yhbt.net> References: <71166b3b0904261732j6d5c50fay3d05fdca7f4a6b6e@mail.gmail.com> <71166b3b0904261836ua76ee21p35b46b999d02e2f8@mail.gmail.com> <20090427015947.GA15181@dcvr.yhbt.net> <71166b3b0904262016u2f5a7bbeo844067deb68c7dc6@mail.gmail.com> Reply-To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240814800 16476 80.91.229.12 (27 Apr 2009 06:46:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2009 06:46:40 +0000 (UTC) Cc: mongrel-users-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Mon Apr 27 08:44:38 2009 Return-path: Envelope-to: gclrmd-mongrel-development@m.gmane.org Content-Disposition: inline In-Reply-To: <71166b3b0904262016u2f5a7bbeo844067deb68c7dc6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.mongrel.devel:108 gmane.comp.lang.ruby.mongrel.general:5700 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1LyICJ-0003Pl-Do for gclrmd-mongrel-development@m.gmane.org; Mon, 27 Apr 2009 06:12:03 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 660A0197858F; Mon, 27 Apr 2009 00:09:59 -0400 (EDT) Received: from dcvr.yhbt.net (unknown [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id 1518718580F4; Sun, 26 Apr 2009 23:49:18 -0400 (EDT) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id C74AB1F7B6; Mon, 27 Apr 2009 03:48:06 +0000 (UTC) List-Post: Luis Lavena wrote: > On Sun, Apr 26, 2009 at 10:59 PM, Eric Wong wrote: > > Luis Lavena wrote: > >> On Sun, Apr 26, 2009 at 10:12 PM, Evan Weaver wrote: > >> > My plan is as so: > >> > > >> > Gossamer + Rack launch script + some optimizations/bugfixes + Ruby 1.9 > >> > compat = more or less Mongrel 2.0. > >> > >> The work on this has already started? Gossamer is the codename? > > > > Did you miss my earlier message posted to this list? > > > > http://rubyforge.org/pipermail/mongrel-development/2009-April/000323.html > > > > Actually ignored for the simple sake that states *nix compatibility > only, which is not my case since I'm on Windows > Will take a look, keeping in mind that *must* work across all the > platforms, at least cleanly like Mongrel does. Of course, this is why Unicorn itself is a separate package from Mongrel. I think the UNIX-only stuff is mainly confined to the HttpServer class where the unportable stuff with forking, shared FDs, signals, pipes are. That and the SocketHelper that can bind UNIX domain sockets. The rest of it, mainly http_{request,response}.rb, is stripped-down from Mongrel to only work with Rack and should be droppable into Mongrel. The C/Ragel http11 parser interface has been simplified a lot with some minor speed improvements. It doesn't use any new functions so it should be fine on Windows . The JRuby version will need to be updated to use the simpler interface (or http_request to use the old interface). I've been planning on stealing (or writing) a pure-Ruby parser for Unicorn, as well... -- Eric Wong