Teknologi Informatika    
   
Daftar Isi
(Sebelumnya) List of open-source healthcare ...List of PHP libraries (Berikutnya)

Daftar/Tabel -- PHP accelerators

This is a list of PHP accelerators.

Contents

Alternative PHP Cache (APC)

Alternative PHP Cache is a free, open source (PHP license) framework that heavily optimizes and tunes the output of the PHP bytecode compiler and stores the final, compiled result in shared memory. This bytecode optimization leads to faster runtime execution since the low-level instructions become more efficient. Its second, even more important job is maintaining a shared, in-memory bytecode cache which allows your server to re-use the compiled code rather than going through the extremely slow task of retrieving source files from disk and re-compiling them on every page load, thus giving you an even bigger performance boost. Compiled files remain in the shared cache and will only be re-compiled if the original source code files are updated. For a heavy application consisting of a large source code base such as Drupal, you can expect around a 3x increase in page generation speed[1] as a result.

It was once the optimization framework of choice at Facebook and is extremely well suited to accelerating heavy PHP applications thanks to its mature codebase and numerous contributors (including Facebook themselves).[2] It also provides a few extra functions beyond its bytecode optimization and bytecode caching, such as giving your PHP applications the ability to store and retrieve keyed data in a global "data store" housed in shared memory, thereby allowing you to cache and significantly speed up access to very commonly used data without having to constantly go to disk or SQL backends.

Zeev Suraski and Andi Gutmans (the two creators of PHP and the Zend Engine), as well as the other major PHP developers, have decided to officially endorse APC and have scheduled it for inclusion in the PHP core no later than PHP 6. There have been discussions about including it even earlier.[3] While this makes APC the officially endorsed PHP accelerator, they want to be clear that they still support other accelerator projects.[4]

  • Website: http://pecl.php.net/package/APC
  • PHP version: works with all PHP versions up to PHP 5.4 (3.1.13 - beta release)
  • Latest beta version: 3.1.13 (2012-09-03)
  • Latest stable version: 3.1.9 (2011-05-14) (should only be used with PHP 4, does not support PHP 5.x)
  • Status: Actively maintained (different releases stable/beta)
  • Download link: http://pecl.php.net/package/APC (source code, required for up-to-date compilation)
  • Official installation help: http://php.net/apc.setup and http://php.net/apc.installation (extension must be compiled against the sources of the PHP version it is to be used with; includes instructions for building on Windows)
  • Pre-built Windows binaries (USE AT YOUR OWN RISK, OUTDATED AND MAY BE INCOMPATIBLE): It is always best to compile the extension yourself, but some people provide pre-built versions as a courtesy. The problem is that these versions quickly go out of date. Version 3.1.13-beta (2012-09-03) pre-compiled binaries for Windows (for PHP x86 v5.4.4, 5.4.6, 5.4.7 or 5.4.8): http://www.dragffy.com/posts/php-apc- windows. Version 3.1.10-beta (2012-04-11) pre-compiled binaries for Windows (for PHP x86? v5.3 or 5.4 threaded & non-threaded builds): http://downloads.php.net/pierre/ (also provides some other PECL extensions previously available on pecl4win)

eAccelerator

eAccelerator was born in December 2004 as a fork of the Turck MMCache project. Turck MMCache was created by Dmitry Stogov and much of the eAccelerator code is still based on his work. eAccelerator also contained a PHP encoder and loader, but the development staff discontinued the encoder and removed this feature after December 2006.

ionCube PHP Accelerator

Launched in 2001, ionCube PHP Accelerator (PHPA) was the first freely available PHP accelerator to compete with the commercial Zend Cache product. Created before ionCube Ltd. was founded and at a time when the performance of PHP was regarded as lackluster when compared to other popular web programming languages[citation needed], PHPA showed that PHP can compete with other languages performance-wise[citation needed]. Although the author of PHPA chose to keep the project closed source in response to early concerns raised by Zeev Suraski of Zend Technologies about the effect that an open source rival might have on their commercial alternative, the availability of PHPA on a wide variety of platforms led to its extensive adoption worldwide from small sites to Yahoo![citation needed]. It also inspired the redevelopment of APC to use the shared memory execution techniques that PHPA and Zend Cache had adopted instead of deserialization on each request that incurred performance penalties[citation needed].

PHPA is now discontinued and the development of a more advanced replacement has been announced[citation needed].

Only supports PHP 4. No new versions on the download page since Jan. 2003.

Turck MMCache

Turck MMCache is now discontinued[citation needed]. eAccelerator is a fork of Turck MMCache.

XCache

XCache is a fast, stable PHP opcode cacher that has been tested and is now running on production servers under high load. It is tested on Linux and FreeBSD and supported under Windows, for thread-safe and non-thread-safe versions of PHP. This relatively new opcode caching software has been developed by mOo, one of the developers of Lighttpd, to overcome some of the limitations of the existing solutions at that time; such as being able to use it with new PHP versions as they arrive.

Nusphere PhpExpress

PhpExpress is a free PHP opcode cache that loads both Nu-Coder (commercial) encoded and plain PHP files directly into the PHP engine, saving loading time and boosting performance of PHP applications. It's available on Windows, Linux, FreeBSD, NetBSD, Mac OS X, and Solaris.

Zend Optimizer+

Zend Optimizer+ [5] is an open source[6] component of Zend Server and Zend Server Community Edition. Zend Optimizer+ speeds up PHP execution by opcode caching and optimization. It stores precompiled script bytecode in shared memory. This eliminates the stages of reading code from the disk and compiling it on future access. For further performance improvements, the stored bytecode is optimized for faster execution. Unlike Zend Optimizer, Zend Optimizer+ doesn't load files encoded by Zend Guard. Zend provides another component, Zend Guard Loader, in order to load encoded applications with Zend Server and Zend Server Community Edition.

Starting with PHP 5.5 the Zend Optimizer+ will be integrated and shipped with PHP.[7]

Zend Platform

Zend Platform (formerly Zend Cache and then Zend Accelerator) is a commercial Web Application Server product. It has a complete set of performance capabilities that includes more than a simple PHP accelerator. Features include code caching/acceleration, data caching, content (html output) caching, download optimization and off-line (asynchronous) processing capabilities that can result in significant performance improvements for most PHP applications. It also includes detailed PHP monitoring and root cause analysis support to help in tuning and debugging, session fail-over support for HA (High Availability) needs and other integration capabilities including Java integration.

Zend Platform and Zend Core are now in 'end of life' status (http://www.zend.com/en/products/platf orm/end-of-life) and are replaced with Zend Server [1].

Zend Optimizer and Zend Guard Loader

Zend Optimizer, an open-source PHP extension created by Zend Technologies caches and optimizes opcode by storing precompiled script bytecode in shared memory. Additionally, it can execute Zend Guard encoded and obfuscated files.[8]

Zend Guard Loader is similar to Zend Optimizer but works with PHP 5.3.[8] The website for these pieces of software encourages people interested on this tools to download Zend Server. It is possible to download them separately, though.[8]

Windows Cache Extension for PHP

A free, open source (New BSD License), PHP accelerator developed by Microsoft for PHP under Windows. The extension includes PHP opcode cache, file cache, resolve file path cache, object/session cache, file change notifications and lock/unlock API's. Combination of all these caches results in significant performance improvements for PHP applications hosted on Windows. The extension is primarily used with Internet Information Services and non-thread-safe build of PHP via FastCGI protocol.

Feature table

NameAlive/discontinueOpcode cacheFile cacheResolve file path cacheObject/session cacheOptimizationCache in memoryAcceleration Low/Med/HighSource encoding
APCaliveYesYes ?YesYesYesHighNo
eAccelerator ? ? ? ? ? ? ? ? ?
ionCube ? ? ? ? ? ? ? ? ?
Turck MMCache ? ? ? ? ? ? ? ? ?
XCachealiveYes ? ? ? ? ? ? ?
Nusphere PhpExpress ?Yes ? ? ? ? ? ? ?
Zend Optimizer+aliveYes ? ? ? ? ? ? ?
Zend Platform ? ? ? ? ? ? ? ? ?
Zend Optimizer and Zend Guard Loader ? ? ? ? ? ? ? ? ?
Windows Cache ?YesYesYesYes ?Yes ? ?

Compatibility table

PHP accelerators-OSWeb serversPHP version
Alive/discontinueWindowsLinuxFreeBSDMac OS XNetBSDSolarisIIS 6.0IIS 7.0IIS 7.5IIS 8.0Apache 2.0Apache 2.2Apache 2.45.45.2
APCaliveYesYes ? ? ?Yes ? ? ? ? ?YesYesYesYes
eAccelerator ? ?Yes ? ? ?Yes ? ? ? ? ? ? ? ? ?
ionCube ? ?Yes ? ? ?Yes ? ? ? ? ? ? ? ? ?
Turck MMCachediscontinue ? ? ? ? ? ? ? ? ? ? ? ? ?No ?
XCachealiveYesYesYesYes ? ? ? ? ? ? ? ? ?Yes ?
Nusphere PhpExpressaliveYesYesYesYesYesYes ? ? ? ? ? ? ?NoYes
Zend Optimizer+alive ? ? ? ? ?No ? ? ? ? ? ? ?YesYes
Zend Platform ? ? ? ? ? ?No ? ? ? ? ? ? ? ? ?
Zend Optimizer and Zend Guard Loader ? ?Yes ? ? ?No ? ? ? ? ? ? ? ? ?
Windows Cache ?Yes ? ? ? ? ?YesYesYesYes ? ? ?YesYes

See also

References

(Sebelumnya) List of open-source healthcare ...List of PHP libraries (Berikutnya)