php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #59599 APC Cache Algorithm is not fully documented?
Submitted: 2011-01-31 12:55 UTC Modified: 2014-02-01 10:03 UTC
From: mattd at whatscookin dot com Assigned: krakjoe (profile)
Status: Closed Package: APC (PECL)
PHP Version: 5.2.17 OS: CentOS 5.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mattd at whatscookin dot com
New email:
PHP Version: OS:

 

 [2011-01-31 12:55 UTC] mattd at whatscookin dot com
Description:
------------
In the documentation for apc_store() and apc_add(), the 
circumstances for which an entry is removed from the cache is 
not fully explained when ttl=0.  The docs list "clear, 
restart, etc", and it is not clear what "etc" covers.

It is also unclear what happens when the cache is full, and 
apc_store()/apc_add() is called, and whether LRU, LFU, or 
another cache strategy is employed to free up space.

The documentation for the apc.ttl option hints that no other 
cache strategies are used, but it could be more explicit.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-01 10:03 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2014-02-01 10:03 UTC] krakjoe@php.net
Outdated PHP aside, the information you are looking for is included in the TECHNOTES file distributed with APC(u), the information it contains is out of the scope of the normal PHP manual, but is available. I feel that's enough to satisfy the request for information for those that cannot just read the code.

Your PHP is ancient, so closing the bug, but at least you got your answer :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 14:01:30 2024 UTC