Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17855 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 952 invoked by uid 1010); 12 Aug 2005 02:10:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 937 invoked from network); 12 Aug 2005 02:10:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2005 02:10:08 -0000 X-Host-Fingerprint: 64.233.184.198 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.198:8832] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 63/A4-33075-0050CF24 for ; Thu, 11 Aug 2005 22:10:08 -0400 Received: by wproxy.gmail.com with SMTP id i22so497773wra for ; Thu, 11 Aug 2005 19:10:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eSHA1Q7eO6ibnXK8Yy7xhHoO/HpXXweQQiIju2IQjST9r/FxcS2AwVOVJofQfFtiAV3yQyr2FdrBFISwqxgj9pPg95+Ev6Z+Hsu7j//wQQiNpQ5v3QGg0wXMIF9zgVBdktypX9hr6ov6fMV7l3KL+K/tYlKpVeplkCzkAKzaQiI= Received: by 10.54.31.21 with SMTP id e21mr1572703wre; Thu, 11 Aug 2005 19:10:05 -0700 (PDT) Received: by 10.54.107.8 with HTTP; Thu, 11 Aug 2005 19:10:05 -0700 (PDT) Message-ID: <57792e8505081119105ba94c3b@mail.gmail.com> Date: Thu, 11 Aug 2005 19:10:05 -0700 To: Rasmus Lerdorf Cc: internals@lists.php.net In-Reply-To: <42FBFAA9.1080101@lerdorf.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <57792e85050808205143e96a8f@mail.gmail.com> <42F907A0.8070900@web.de> <57792e85050809142416ee5d6c@mail.gmail.com> <42F9217F.6010604@lerdorf.com> <57792e8505080917402f144072@mail.gmail.com> <42F962CF.4000503@lerdorf.com> <57792e85050811174867b7a6c3@mail.gmail.com> <42FBFAA9.1080101@lerdorf.com> Subject: Re: [PHP-DEV] Re: Moving to PHP5.1 and Apache 2.2 next year, need help From: iamstever@gmail.com (steve roussey) Yes, you are quite correct in that a very large site (Yahoo, Google, etc) will use a caching ISP (aka Akami). In fact, I imagine that it would be a completely separate domain name so there would be no cookies and everyone down the chain can easily cache the content as well. Doesn't work for all object content (great for images) since JS for example might loose its ability to set cookies. I'm not really considering these things anyhow, since 99% of what I work with is access controlled or could be at a moments notice. It all needs to be logged as well, down to the things like images. So I'm really just looking at dynamic requests. It bears noting that usually a set of servers serving static content could use KeepAlive and the dynamic ones not, and a lot of this discussion is meaningless. But, if you are say, Google Maps, and doing "AJAX" type stuff (or chat, if only more browsers supported multipart responses from your XMLHttpRequest object) then the situation changes -- you need the Keep-Alive connections for all your dynamic connections too. And now I'm back at the beginning of the thread. I have my doubts about stripping Apache2 down to something 'lightweight'. I have my own thoughts on how that project was engineered. But there is nothing like a SmackDown to see where the cookies crumble. Thanks! -steve-- On 8/11/05, Rasmus Lerdorf wrote: > Well, I am not sure about your conclusion there. Generally you don't > want trivial requests going through the heavyweight Apache process, so > you can either try to make Apache less heavyweight and separate out the > dynamic stuff which is what you are suggesting, or you can separate out > the trivial requests. The large players do the latter by Akamizing all > their static content or the trivially dynamic stuff and only handle > heavy requests on their own servers. For smaller players the common > solution is to have a separate set of servers doing static requests. > thttpd, Tux, lighttpd, etc. which are easier to strip down than the > heavier (and more flexible) Apache server. >=20 > -Rasmus >