From owner-freebsd-questions Mon Aug 28 12:19:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 6508837B42C for ; Mon, 28 Aug 2000 12:19:27 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e7SJI2M16077; Mon, 28 Aug 2000 12:18:02 -0700 (PDT) Date: Mon, 28 Aug 2000 12:18:02 -0700 From: Alfred Perlstein To: Jim Jagielski Cc: Steve Lewis , "James E. Pace" , freebsd-questions@FreeBSD.ORG Subject: Re: Scaling Apache? Message-ID: <20000828121802.D1209@fw.wintelcom.net> References: <200008281903.PAA07927@devsys.jaguNET.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <200008281903.PAA07927@devsys.jaguNET.com>; from jim@jaguNET.com on Mon, Aug 28, 2000 at 03:03:41PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Jim Jagielski [000828 12:04] wrote: > Steve Lewis wrote: > > > > On Mon, 28 Aug 2000, Alfred Perlstein wrote: > > > > > > What do you recommend for a web server if Apache is "entirely useless" may > > > > I ask? > > > > > > Zues, thttpd, roxen, there's a lot out there that are a lot faster. > > > > > > Supposedly Zues is king. > > > > Do you happen to know what these do better than apache? > > To some, anything that says "threaded" is automatically better. > Whether it is or it isn't. :) Let me put it another way: Apache sucks for performance, my grandmother (dead) can handle load better than apache. And assuming that I'm naive enough to be in the "threaded is better" camp is stupid, you should have researched my previous postinging before making such an incorrect assumption. > > Does anyone know of a good FAQ or other resource on load balancing with > > apache? > > > > There are numerous heavy-use sites using Apache 1.3 as, at the least, > their main front-end, using reverse proxy to offload requests to > backend servers, also running Apache. WebTechniques has, I > believe, such an article. Sure, if you cluster apache it helps hide the fact that it sucks for load because then you can have a thousand machines sucking in tandem. > Since Apache 1.3 uses preforking, the key is having enough open > process slots available, enough memory for those processes > so you don't go into swap, and ensuring that keepalives are > enabled so that a significant portion of those "simultaneous" > requests are pipelined. Yes that works for relatively heavy traffic, but not for extremely high amounts of traffic. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message