Task #46821

Add support for user-data-cache APCu (since the arrival of Zend Optimizer+ now)

Added by Stefan Neufeind over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2013-03-31
Priority:Should have Due date:
Assigned To:- % Done:

100%

Category:Caching Spent time: -
Target version:-
TYPO3 Version:6.1 Complexity:
PHP Version: Sprint Focus:

Description


Related issues

related to Core - Feature #46822: Add support for user-data-cache Yac (since the arrival of... Rejected 2013-03-31
related to TYPO3.Flow - Task #46823: Detect APC and APCu correctly Accepted 2013-03-31

Associated revisions

Revision 0d34f7f0
Added by Stefan Neufeind over 2 years ago

[TASK] Detect APC and APCu correctly

APCu is just the user-data part of APC,
providing the same API.

If installed it currently identifies itself
as both "apcu" and "apc" (for compatibility).
Thus if "apcu" shows up, we actually have an APC
without opcache-support.

Resolves: #46821
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: Ie046fa21102c5c7eb6b5b8a9cf54b20252c30cd9
Reviewed-on: https://review.typo3.org/19462
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

Revision 46cde8ac
Added by Stefan Neufeind over 2 years ago

[TASK] Detect APC and APCu correctly

APCu is just the user-data part of APC,
providing the same API.

If installed it currently identifies itself
as both "apcu" and "apc" (for compatibility).
Thus if "apcu" shows up, we actually have an APC
without opcache-support.

Resolves: #46821
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: Id61bcf9277295915a6e204eabab7c65159e98764
Reviewed-on: https://review.typo3.org/19469
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

Revision 46871974
Added by Stefan Neufeind over 2 years ago

[TASK] Detect APC and APCu correctly

APCu is just the user-data part of APC,
providing the same API.

If installed it currently identifies itself
as both "apcu" and "apc" (for compatibility).
Thus if "apcu" shows up, we actually have an APC
without opcache-support.

Resolves: #46821
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: If933a889e9874b6224713a5d48b3cadd3b66463f
Reviewed-on: https://review.typo3.org/19470
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

Revision 5d4f0430
Added by Stefan Neufeind over 2 years ago

[TASK] Detect APC and APCu correctly

APCu is just the user-data part of APC,
providing the same API.

If installed it currently identifies itself
as both "apcu" and "apc" (for compatibility).
Thus if "apcu" shows up, we actually have an APC
without opcache-support.

Resolves: #46821
Releases: 4.5, 4.7, 6.0, 6.1
Change-Id: Ia62e06c5fdaab1e836f02020277ca0fb17bf118d
Reviewed-on: https://review.typo3.org/19471
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn

History

#1 Updated by Stefan Neufeind over 2 years ago

http://pecl.php.net/package/APCu
Functions : same API as APC.
This is a (friendly) fork of APC, dedicated to clean-up code from all the cache side of opcode and to provide an alternative permitting to supersede APC in a transparent manner to applications.

(source: http://blog.famillecollet.com/post/2013/03/25/PHP-opcode-and-user-data-cache)

#2 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19462

#3 Updated by Stefan Neufeind over 2 years ago

Could somebody turn this from "feature" into a "task" please? See patch in review. The API is identical, APCu is just "an APC without opcache-functionality".

#4 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19462

#5 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19462

#6 Updated by Christian Kuhn over 2 years ago

  • Tracker changed from Feature to Task

#7 Updated by Stefan Neufeind over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#8 Updated by Gerrit Code Review over 2 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/19468

#9 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/19469

#10 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/19470

#11 Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/19471

#12 Updated by Stefan Neufeind over 2 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF