From owner-freebsd-questions@FreeBSD.ORG Tue Nov 13 11:03:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 288B978B for ; Tue, 13 Nov 2012 11:03:43 +0000 (UTC) (envelope-from friedrich.locke@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id E7DD18FC15 for ; Tue, 13 Nov 2012 11:03:42 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id kp6so452192pab.13 for ; Tue, 13 Nov 2012 03:03:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=r8dHOpu2YVupZLmldM2wzxMFPztvpDyDQ0mSYB3TgXA=; b=Gy6vOC/F3G6uJ/4Z4EPCm4zp2BGkUdyZ/oavAqhUFijTFYJZWwGh5bvXv0lAQ9si0T eI2XquYCT4rLoJishYVvQaxwXVKRmkKV20WcjGdMZqhEb1QurFKLz12YrbiimzwSudVx /0KqsnjLQP/gcGmJaBtKx25rrHyByXxm67w1uvBxft97OB22pCZvoyFzNcXIDyrMGptU RxoxBrOsSSxUztRoV+uOtjxwcA4KYKBk7FbFunyFkt3s7Y+C98TPHoWiuxcKeVLWmn0m XYlCzlRSxBUK9125e8Qm6ujhLCvlrHfDscXsCtAu+5UMn/qOgZ1kfeIdwD78qr6nOPvG YnVA== MIME-Version: 1.0 Received: by 10.68.230.200 with SMTP id ta8mr26640753pbc.13.1352804622200; Tue, 13 Nov 2012 03:03:42 -0800 (PST) Received: by 10.68.238.103 with HTTP; Tue, 13 Nov 2012 03:03:42 -0800 (PST) In-Reply-To: References: <73EA6F0E-0170-4738-80D0-F911AEE5E1CD@exonetric.com> Date: Tue, 13 Nov 2012 09:03:42 -0200 Message-ID: Subject: Re: high performance server design approach From: Friedrich Locke To: Fleuriot Damien Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org, Mark Blackman X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2012 11:03:43 -0000 Mark, when i say high performance, i am looking something at least as fast as the fastest performing http server on the market for a given set of requests on the same pool of static files. I am aware og ngnix, but i have to write my own http server. Using someone else solution is not an option. On Tue, Nov 13, 2012 at 8:57 AM, Fleuriot Damien wrote: > Define "high performance" , what are your expectations in terms of > concurrent connections, requests/second and all ? > > > > Allow me to shed some measure of light here, we're running 16x web servers > with nginx doing *permanent* (as in, for all requests) URL rewriting and > serving 500 req/s each. > > These servers admittedly running debian are behind 4x freebsd boxes using > a combination of PF, CARP and relayd on 8.3-STABLE. > > The web servers deliver 200mb/second worth of *small* files (roughly 1kb > javascripts). > They hardly ever reach 0.25 load average, on 8 cores + hyperthreading. > > > What I'm getting at here is, nginx *totally rapes* performance-wise, at > least for our own needs. > > If it is able to deliver 500 req/s (for each server) of small files, > surely it can handle the load you're planning on throwing at it ? > > > > On Nov 13, 2012, at 11:28 AM, Friedrich Locke > wrote: > > > Thank you Mark for suggestion, but my doubt still remains. > > > > Regards. > > > > On Tue, Nov 13, 2012 at 8:26 AM, Mark Blackman > wrote: > > > >> On 13 Nov 2012, at 10:23, Friedrich Locke > >> wrote: > >> > >>> Hi list members, > >>> > >>> i would like to be an http server for static content only. Due to this > >> > >> [snip] > >> > >>> > >>> > >>> What you have to say > >> > >> benchmark nginx to see if it does the job already. > >> > >> - Mark > >> > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > >