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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2021 The PHP Group
All rights reserved.
Last updated: Sat Jul 31 04:01:24 2021 UTC