From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryan Dahl Newsgroups: gmane.comp.lang.ruby.mongrel.devel Subject: Re: [ANN] Unicorn: UNIX+localhost/LAN-only Mongrel fork Date: Thu, 12 Feb 2009 01:32:23 +0100 Message-ID: <21ee31950902111632y6df95e9h1f9dd642bcc55baf@mail.gmail.com> References: <20090211230457.GB22926@dcvr.yhbt.net> 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 1234399163 29345 80.91.229.12 (12 Feb 2009 00:39:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2009 00:39:23 +0000 (UTC) To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Thu Feb 12 01:40:38 2009 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:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=qPUWUOgBYhTOTQqAj3jOeozsBjdMz2VH45ozxxn1mf4=; b=ERWP1LJ5NcDTw8Fw1zoAoLWN6AvU+TFWGTQ2WhbCM0Xyv3KL4oq96DwQ+hdWQBshL/ 3Y9/R7IPyCpsrhoCPutMZlaWMmfW7C5caw4wdJWVEpXmERJojpJsW6uK0tT6FvL3oBe+ I2Qgn7PZxOsqDr5TZ/TfJxh8ijomhPhsNkjbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=ViIycTFRwZjM2FWF1VR6ffM7t37LGXEtCp96Yff5gJaZIBNX+v2txTuw6ZCiqoU4wc HrrWV4HZ7G0GTuM85y40yFNgmXs0xffrUFQeHlHfab3TH0emrk8vEM8Kaa5+PagizXd3 tfC00a4nXSlvfTzP7VmpGOKpp66kapkBT9AGQ= In-Reply-To: <20090211230457.GB22926-yBiyF41qdooeIZ0/mPfg9Q@public.gmane.org> X-Google-Sender-Auth: 73b4cd515d2f9d0f 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:84 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1LXPd7-0006lw-Ej for gclrmd-mongrel-development@m.gmane.org; Thu, 12 Feb 2009 01:40:37 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 790DA15B8026; Wed, 11 Feb 2009 19:39:14 -0500 (EST) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by rubyforge.org (Postfix) with ESMTP id 0468715B8026 for ; Wed, 11 Feb 2009 19:32:23 -0500 (EST) Received: by yw-out-2324.google.com with SMTP id 5so293759ywh.59 for ; Wed, 11 Feb 2009 16:32:23 -0800 (PST) Received: by 10.142.107.5 with SMTP id f5mr129798wfc.130.1234398743191; Wed, 11 Feb 2009 16:32:23 -0800 (PST) List-Post: Eric, this sounds great. what would you think of adding an option to allow the server to connect to one (or more?) unix pipes for process restart instructions? i'd love to add a nginx module which notices when a backend is responding too slowly and can notify Unicorn to restart it. (this is the killer feature of passenger phusion.) a simple protocol where a single byte message encodes the index of the backend that needs to be restarted would work i think (easy to multiplex with multiple writer processes) ry