[phpa] Re: cache files

> 
> 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


Other related posts: