From owner-freebsd-questions@FreeBSD.ORG Tue Nov 4 12:23:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77DEB16A4CE for ; Tue, 4 Nov 2003 12:23:44 -0800 (PST) Received: from mail-relay1.mirrorimage.net (mail-relay1.mirrorimage.net [209.58.140.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B7F143FB1 for ; Tue, 4 Nov 2003 12:23:43 -0800 (PST) (envelope-from leblanc@mirrorimage.net) Received: from leblanc.mirrorimage.net (leblanc.mirrorimage.net [209.192.210.146]) by mail-relay1.mirrorimage.net (8.9.3/8.9.3) with ESMTP id PAA13429 for ; Tue, 4 Nov 2003 15:23:29 -0500 Received: from leblanc.mirrorimage.net (localhost [127.0.0.1]) hA4KNiMG061300 for ; Tue, 4 Nov 2003 15:23:44 -0500 (EST) (envelope-from leblanc@leblanc.mirrorimage.net) Received: (from leblanc@localhost) by leblanc.mirrorimage.net (8.12.8p1/8.12.8/Submit) id hA4KNi3l061259 for freebsd-questions@FreeBSD.org; Tue, 4 Nov 2003 15:23:44 -0500 (EST) Date: Tue, 4 Nov 2003 15:23:43 -0500 From: Louis LeBlanc To: FreeBSD Questions Message-ID: <20031104202343.GH2511@keyslapper.org> Mail-Followup-To: FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.4i Subject: Reverse proxy question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Nov 2003 20:23:44 -0000 Hey everyone. Here's a question that may have been answered in the past, but I'm not real satisfied with what I've found on Google. I have been tasked with setting up a reverse proxy (open source, probably squid) that is capable of handling 5000 requests per second or more. Yes, 5000/sec. It's a world gone mad, I tell you. Licensed products like iMimic and Volera are not options. The OS is flexible (I'm leaning toward a recent 4.x version of FreeBSD) and the hardware is limited to what's on hand - either a Dell 2550 or 2650 with 1G Ram, 30G hard drive space, and varied CPU configurations. What we have available are as follows: single 933MHz Xeon in the 2550, single or dual 1.3 or 1.8 GHz Xeon in the 2650. I realize that Squid relies more on disk seek times than actual transfer rate or CPU power. If I've been told right, the disks are all mirrored 30G drives, but I don't have seek times on hand. I know that most reverse proxies out there - both commercial and open source are typically single CPU architectures, so that will be the initial focus. The problem I would like help with here is the version of FreeBSD that would be more likely to handle this kind of load, particularly with respect to Posix asynchronous I/O. I've been told that 4.6 and earlier didn't have great Posix A-I/O support, but is it better in 4.8, or should I jump to 5.0? Also, if anyone knows of a reverse proxy that may be able to do better than Squid, I'd certainly welcome the suggestion. The benchmarks I've seen online indicate I may need to improve squid by a factor of 10. Not sure that's really an option unless the benchmark I've seen is horribly biased. Of course, if anyone has a web site that details some of the finer tweaks that might at least get Squid close to the requirements, that'd be great too. Thanks in advance. Lou -- Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Armor's Axiom: Virtue is the failure to achieve vice.