From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS14383 205.234.109.0/24 X-Spam-Status: No, score=-0.6 required=5.0 tests=FREEMAIL_FROM, MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD,T_DKIM_INVALID shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: snacktime Newsgroups: gmane.comp.lang.ruby.unicorn.general Subject: Re: [Mongrel] scaling unicorn Date: Tue, 22 Jun 2010 10:30:06 -0700 Message-ID: References: <20100622001632.GA10082@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1277231132 13246 80.91.229.12 (22 Jun 2010 18:25:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Jun 2010 18:25:32 +0000 (UTC) To: unicorn list Original-X-From: mongrel-unicorn-bounces@rubyforge.org Tue Jun 22 20:25:30 2010 Return-path: Envelope-to: gclrug-mongrel-unicorn@m.gmane.org X-Original-To: mongrel-unicorn@rubyforge.org Delivered-To: mongrel-unicorn@rubyforge.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Td4FX1IKLZ/ObVqYZrFdLofNQkuOXBqFEMRKHf9QJK0=; b=ll4aqFQ8YOIc7L6aaAAculA3YDau7Q4CWB77rj9JR58ptFhiLc0GcJAVRXsIhBVH0G 3cupaM+AKMxCV377jIhq6tdHDHNFrCTKiDTpDVG+cM4Ynif9MPAJtaHlA+i79DwRc+Dm bKOZImsP1GZb2Ea8Gw+lwysHDyt+KXO4ddXCM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=W/hoaEd9sRsioY6D6givyiNlIuwhM1HDmRF68+GmXwOe8Kuztd4nySzG8soZKrNFqR sAyKtZb/u9m/sZGl9hobGNsjqh9RaNusWN6MK+ONW6C6DZg2+jtFzgUP/rvFN14QJvxq l2Q1nJfHyPEqfeJoLT3dBXChJt3DZFXFBcjW0= In-Reply-To: <20100622001632.GA10082@dcvr.yhbt.net> 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: , Original-Sender: mongrel-unicorn-bounces@rubyforge.org Errors-To: mongrel-unicorn-bounces@rubyforge.org Xref: news.gmane.org gmane.comp.lang.ruby.unicorn.general:601 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OR8A1-00082i-Hh for gclrug-mongrel-unicorn@m.gmane.org; Tue, 22 Jun 2010 20:25:25 +0200 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id C820B185834E; Tue, 22 Jun 2010 14:25:24 -0400 (EDT) Received: from mail-vw0-f50.google.com (mail-vw0-f50.google.com [209.85.212.50]) by rubyforge.org (Postfix) with ESMTP id 96348185834E for ; Tue, 22 Jun 2010 14:13:31 -0400 (EDT) Received: by vws3 with SMTP id 3so734449vws.23 for ; Tue, 22 Jun 2010 11:13:31 -0700 (PDT) Received: by 10.229.218.211 with SMTP id hr19mr3617356qcb.92.1277227806601; Tue, 22 Jun 2010 10:30:06 -0700 (PDT) Received: by 10.231.148.148 with HTTP; Tue, 22 Jun 2010 10:30:06 -0700 (PDT) On Mon, Jun 21, 2010 at 5:16 PM, Eric Wong wrote: > snacktime wrote: >> Interested in some feeback on this (does it sound right?), or maybe >> this might be of interest to others. > > Hi Chris, > > I think you meant to post this to the mongrel-unicorn@rubyforge.org > list, not mongrel-users@rubyforge.org :> > Yes, not sure how that got mixed up... > > That's "8 way xeon" _before_ hyperthreading, right? =A0Which family of > Xeons are you using, the Pentium4-based crap or the awesome new ones? > Two quad core Nehalems on each server. > How much memory is each Unicorn worker using for your app? > Undoubtedly this is lower then it will be under a real load, but under our load tests they stabilize at around 160mb. > Do you have actual performance numbers you're able to share? > Mean/median request times/rates would be very useful. =A0If your requests > run very quickly, you may be limited by contention with the accept() > syscall on the listen socket, too. > I had two different types of requests to test that I did in varying combinations. One takes on average 600ms, and the other 40ms. 98% of our requests will be the faster one. Deviations were really low. > I assume you're using nginx as the proxy, is this with Unix domain > sockets or TCP sockets? =A0Unix domain sockets should give a small > performance over TCP if it's all on the same box. > Yes nginx with domain sockets. Chris _______________________________________________ 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