본문 바로가기

아카이브/PHP

OPcache, APC/APCu

반응형

오피캐시/APC, APCu 는 unrelated technologies 이다. opcode caching and key-value data store. 로 나뉘는 기술이다.


(http://wordpress.stackexchange.com/questions/174317/apc-vs-apcu-vs-opcache 발췌)


 Opcode caching is really the "normal" way to run PHP 

-> precompiled PHP Script 를 이용한다.


 Data store can *(and should) be used by WordPress object cache plugins for better persistent caching

->  key-value 기반의 불필요한 캐싱은 제거한 방식?


요점은


  • APC is opcode cache and data store
  • APCu is only data store
  • OPcache is only opcode cache


Since APC is older, at the moment you likely want OPcache as well as some data store, not necessarily APCu (although it is perfectly fine choice).

반응형

'아카이브 > PHP' 카테고리의 다른 글

PHP - xhprof (profiler)  (0) 2016.06.10
파일업로드  (0) 2015.02.13
isset vs empty vs in_null 반환값 비교  (0) 2015.01.29
[환경변수] SERVER 전역변수  (0) 2015.01.29
트랩도어함수(암호화)  (0) 2015.01.21