PHP eAccelerator

-- IT Trend 2013. 2. 12. 13:33
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
eAccelerator is a PHP accelerator derived from the MMCache extension for the PHP programming language. eAccelerator provides a bytecode cache. eAccelerator is open source and thereby free to use and distribute. Old and unmaintained versions also provided an encoder.

Every time a PHP script is accessed, PHP usually parses and compiles scripts to bytecode. Once installed, eAccelerator optimizes the compiled bytecode and caches this to shared memory or disk or both. Upon subsequent accesses to a script, eAccelerator will access cached bytecode if it is available instead of the script being compiled. This avoids the performance overhead of repeated parsing and compilation.

Previous eAccelerator versions also provided functions[1] for use in PHP scripts that allow access to shared memory, automatic web (content) caching, and other related tasks. These were removed as of version 0.9.6rc1.

Old eAccelerator versions had an encoder component that creates a file that cannot be as easily read as a normal PHP script, offering some code protection. A dedicated extension named eLoader is available to process such encoded scripts if the eAccelerator extension is not desired. This functionality has been removed from the current developer version and will not be part of the next release.

도입 특징

- 도입 시 코드 변경이 없음  
- 컴파일된 상태의 PHP 스크립트를 캐시하여 실행속도 성능향상
- 페이지 Rendering time이 빨라짐 (2-10배)
- CPU/메모리 사용량이 감소하여 서버 load를 감소

설치과정은 아래를 참조하기 바란다.


posted by 어린왕자악꿍