From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Tony Arcieri" Newsgroups: gmane.comp.lang.ruby.mongrel.devel Subject: Re: Mongrel 2.0 Date: Wed, 19 Nov 2008 22:54:38 -0700 Message-ID: References: <71166b3b0811191909n6ad79b3cse89be4b9c50b8283@mail.gmail.com> Reply-To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0034926162==" X-Trace: ger.gmane.org 1227160494 23427 80.91.229.12 (20 Nov 2008 05:54:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 05:54:54 +0000 (UTC) To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Thu Nov 20 06:55:54 2008 Return-path: Envelope-to: gclrmd-mongrel-development@m.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=RpT7ACJW6Bwao1JBTw/ZaFDK+yjkiosm57Y5ANoDkfU=; b=rBogDAZMlCC4EO+uD0xplb4OTWNRD7Unp7Y5PsqiJ7uckAOUNOPg34dBx1uHiJreRr o1RzaaRQBl75WYNE4z3A1qwHujtTFN49U0h0sTiZCHlPN09KcxkxPp6qVxmFPJ+b2+65 1PgdVXWX1EYT0DgQQG+XG16uyb2PAy3rMRdwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=TyRlxeMYMDeoB10L1mxH4+FXeCqb9IFk7h+DhzBzaWJw5iD75nIHW3kr5r1EM6h4If hiUJGZjXkuNBRzP49z5//J5g/QbjZuO2cQ5/qsk5ogUeSssWbrzf7XV/IztsWnQc0d8W k+68MydpZwGcL1AQRUAXVFjIpV82uFL31xgoA= In-Reply-To: X-Google-Sender-Auth: e35afd3714f499cf X-BeenThere: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.11 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:79 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1L32W9-0007du-Hq for gclrmd-mongrel-development@m.gmane.org; Thu, 20 Nov 2008 06:55:53 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 63E961D780CD; Thu, 20 Nov 2008 00:54:41 -0500 (EST) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.249]) by rubyforge.org (Postfix) with ESMTP id 8A62116780DD for ; Thu, 20 Nov 2008 00:54:38 -0500 (EST) Received: by hs-out-0708.google.com with SMTP id x43so168322hsb.3 for ; Wed, 19 Nov 2008 21:54:38 -0800 (PST) Received: by 10.151.109.11 with SMTP id l11mr3506175ybm.232.1227160478356; Wed, 19 Nov 2008 21:54:38 -0800 (PST) Received: by 10.150.124.9 with HTTP; Wed, 19 Nov 2008 21:54:38 -0800 (PST) List-Post: --===============0034926162== Content-Type: multipart/alternative; boundary="----=_Part_67799_15732662.1227160478304" ------=_Part_67799_15732662.1227160478304 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, Nov 19, 2008 at 9:39 PM, Kirk Haines wrote: > On Linux (and some other *nixes), there's a funky little thing that > happens when a process that is bound to a socket is forked. > > All of the forked processes are also bound to the socket, and the > kernel will distribute connections between them. It's a low cost way > to load balance between workers on a machine that is running an OS > which will support it. > Prefork servers should be fairly portable. Any reason why you aren't trying this on other platforms? -- Tony Arcieri medioh.com ------=_Part_67799_15732662.1227160478304 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wed, Nov 19, 2008 at 9:39 PM, Kirk Haines <wyhaines-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On Linux (and some other *nixes), there's a funky little thing that
happens when a process that is bound to a socket is forked.

All of the forked processes are also bound to the socket, and the
kernel will distribute connections between them.  It's a low cost way
to load balance between workers on a machine that is running an OS
which will support it.

Prefork servers should be fairly portable.  Any reason why you aren't trying this on other platforms?

--
Tony Arcieri
medioh.com
------=_Part_67799_15732662.1227160478304-- --===============0034926162== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Mongrel-development mailing list Mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org http://rubyforge.org/mailman/listinfo/mongrel-development --===============0034926162==--