php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56883 Disk-based Cache
Submitted: 2006-03-07 16:50 UTC Modified: 2006-03-07 17:14 UTC
From: tom at rochen dot com Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: 4.4.1 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tom at rochen dot com
New email:
PHP Version: OS:

 

 [2006-03-07 16:50 UTC] tom at rochen dot com
Description:
------------
I would like to see APC have the ability to cache opcode to the disk as well as RAM, that way, if the allocated RAM fills up, it can use the disk swap from disk to RAM as is needed.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-07 16:51 UTC] tom at rochen dot com
Changed type to "Feature/Change Request".
 [2006-03-07 16:55 UTC] rasmus@php.net
The benefit of this would be minimal.  It probably would be slightly faster than re-compiling, but not by very much and isn't worth the extra complexity.
 [2006-03-07 17:11 UTC] tom at rochen dot com
For a server that is hosting a small number of sites, the current APC version is good, but once you have several sites on a server, say like more than 25, you start filling up RAM quickly.  Having the disk to store opcode too would eliminate the need to keep feeding it more RAM.
 [2006-03-07 17:14 UTC] rasmus@php.net
Yes, but if it is only marginally faster than not using APC at all, what is the point?  You are way better off identifying the scripts that are performance critical and only caching those by turning off cache_by_default and creating regular expressions in apc.filters that only match the stuff you want to cache.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC