Re: [PHP4BETA] PHP integration for Roxen (1.4-)
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] PHP integration for Roxen (1.4-) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1011@lists.php.net to get a copy of this message | ||
> That's not easy to do, since no reverse proxy I have seen so far can
> come even close to roxens performance....
>
> Let me explain the architecture of the internal C-module that handles
> HTTP (with speeds in excess of 24 000 requests/second on a PII400
> running Solaris x86.)
>
> There are several layers of caching in order to reach this
> performance for dynamic documents:
>
>
> 1. Primary memory cache (>24k req/sec)
> 2. Primary disk cache (>10k req/sec)
> 3. Secondary memory cache (>2k req/sec)
>
> 4. The source files (>600 req/sec)
But again, I don't see how this has anything to do with a content-parsing
engine like PHP. PHP generates output and delivers it to the web server
along with the appropriate HTTP headers that specify how the content
should be cached. As far as I am concerned whether it is a proxy-cache
somewhere or the web server itself acting as a cache, that ends up doing
the cacheing, PHP's job is just to deliver content.
Now, if Roxen needs something beyond the regular HTTP headers that control
such cacheing, please explain that to us and we will see what we can do,
but right now I still don't understand what excatly it is you are asking
about.
-Rasmus
--
PHP 4 Beta