From owner-freebsd-questions@FreeBSD.ORG Tue Nov 13 11:18:29 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 21C4FB08 for ; Tue, 13 Nov 2012 11:18:29 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id D34018FC12 for ; Tue, 13 Nov 2012 11:18:28 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so13587032iea.13 for ; Tue, 13 Nov 2012 03:18:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=CKXmXTBdx3BqKGxJg73NqDqm27h0dnmwaCcxyNBmLs4=; b=UcvqfIkDCinf/bNPuaGNsV1GAOTyUpGIZnCF8GER2jzqmRKu6Fgje7FIAfTzga5+km 75w13GvmCLchcEB4n0J5/SKGzC89HkNoWVwELvkL3hA40j/4d8Cm9hb66rJmUbvBPxD7 njw5VAeMekA1OaL/LYkHDBf1nPYZinSX4SkX3V/Z0FfyRuY5AYTzrTOkH6u6UV5/crxo fD9LPQR0aoR52LfD/dRJgfC0+Oy9/x3nnmDPQXHvB8ooVE2x28yzYpz/2qxIglFZAxKE A974p620qHssiHNuD7RaIxnH3MoUGpyLzLWpLotmZ/OntpIl/zLFMnUfqZ/igz5iJj3D rATA== MIME-Version: 1.0 Received: by 10.42.104.208 with SMTP id s16mr20846778ico.15.1352805508119; Tue, 13 Nov 2012 03:18:28 -0800 (PST) Received: by 10.64.147.34 with HTTP; Tue, 13 Nov 2012 03:18:28 -0800 (PST) In-Reply-To: References: <73EA6F0E-0170-4738-80D0-F911AEE5E1CD@exonetric.com> Date: Tue, 13 Nov 2012 12:18:28 +0100 Message-ID: Subject: Re: high performance server design approach From: Damien Fleuriot To: Friedrich Locke Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlILWIbweLddVDOUpBCmFm9vF9xrAUJYDRZES4m2xZxu0JD0Y3KDNM3gKElW9MyG2C0iLVy 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:18:29 -0000 That's a shame, nginx is definitely a robust and fast server, it's well maintained, it's patched quickly... If you need proof of its prowess to convince your upstream managers, I'd be inclined to provide you with a diagram of our architecture for this particular project, as well as the graphs (network traffic, server loads, requests/sec...) On 13 November 2012 12:03, Friedrich Locke wrote: > 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" >> >