[phpa] Re: cache files
- From: "Nick Lindridge" <nick@xxxxxxxxxxxxxxxxxxxxx>
- To: phpa@xxxxxxxxxxxxx
- Date: Thu, 4 Apr 2002 09:29:29 +0100 (BST)
>
> Hi,
>
> I wonder what is the use of cache files named phpa_*.
>
> PHPA uses shared memory to cache opcodes so I don't understand why it
> also uses files.
> Are they memory-mapped files?
>
> PHPA gives me best results than APC and After Burner, and I'd like to
> understand how it does.
<g>
The files can be useful. Read my history page and you'll see why they're
there. Now they're not really necessary, but I keep them in because they
give a much larger cache space than the shared memory space if you need it,
and I simply haven't had the time to take them out.
The cache is faster because it operates differently. PHPA allows PHP to
execute code directly out of the shared memory cache, requiring no copying
to local memory. The only other one that works like this is the Zend
offering, and that's why are results are usually near enough the same.
Plus, PHPA includes a code optimiser :-)
nick
------------------------------------------------------------------------
www.php-accelerator.co.uk Home of the free PHP Accelerator
To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
- References:
- [phpa] cache files
- From: Christophe Gras
Other related posts:
- » [phpa] cache files
- » [phpa] Re: cache files
- [phpa] cache files
- From: Christophe Gras