From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS33070 50.56.128.0/17 X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: archivist@yhbt.net Delivered-To: archivist@dcvr.yhbt.net Received: from rubyforge.org (50-56-192-79.static.cloud-ips.com [50.56.192.79]) by dcvr.yhbt.net (Postfix) with ESMTP id 0293A1F6C9 for ; Fri, 28 Dec 2012 22:00:14 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 3D5572E09A; Fri, 28 Dec 2012 22:00:14 +0000 (UTC) X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org X-Greylist: delayed 903 seconds by postgrey-1.31 at rubyforge; Fri, 28 Dec 2012 22:00:07 UTC Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by rubyforge.org (Postfix) with ESMTP id 7CFE32E097 for ; Fri, 28 Dec 2012 22:00:06 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tohjk-0007R0-VI for mongrel-unicorn@rubyforge.org; Fri, 28 Dec 2012 22:45:05 +0100 Received: from 173-165-70-114-Illinois.hfc.comcastbusiness.net ([173.165.70.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Dec 2012 22:45:04 +0100 Received: from danmelnick by 173-165-70-114-Illinois.hfc.comcastbusiness.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 Dec 2012 22:45:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: mongrel-unicorn@rubyforge.org From: Dan Melnick Subject: Re: Maintaining capacity during deploys Date: Fri, 28 Dec 2012 21:38:22 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 173.165.70.114 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.101 Safari/537.11) X-BeenThere: mongrel-unicorn@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Tony Arcieri gmail.com> writes: > We're also using Rack::MockRequest in the after_fork block (but before > we send SIGTTOU) to send a request to our most heavily trafficked > action. Subsequent requests to the same action are ~20X faster, so > it's clear we're pulling in a lot of code on that first request and > warming up the new workers is definitely needed. Is this code you're able to share in a gist or elsewhere? I'm curious to see how you're using Rack::MockRequest on a per-worker basis. Thanks, Dan _______________________________________________ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying