Re: [need for advices] fastCaching
| From: | Tomas V.V.Cox | Date: | Mon, 22 Jul 2002 12:24:18 +0000 |
| Subject: | Re: [need for advices] fastCaching | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7839@lists.php.net to get a copy of this message | ||
MARTY Fabien wrote:
>
> Hello,
>
> I have made some benchs of the Cache Package with ab (apache tool in
> /sbin). To make them, I have used :
>
> (you have to be root)
> ab -c 10 -n 1000 http://127.0.0.1/...
>
> With PEAR/Cache, I obtain near 30 requests per second.
>
> This result is enough in most cases but I find that the result is not
> good for a cache solution.
>
> The Cache package is a wonderfull one. It uses a container approach and
> it is very well coded. It is completly flexible... But...
[snip]
> Advices are welcome ! :-))
>
I guess that just isolating the container isCached() functions into a
light layer would multiply the speed factor.
Tomas V.V.Cox