What kind of PHP accelerator is the most reliable apc,xcache,eaccelerator

Source: Internet
Author: User
Tags apc
Now the most used is APC, because it is directly integrated in PHP, as long as it is compiled with parameters can be used directly, without the need to download the plug-in.

I've used only APC and Eaccelerator, and the capabilities of APC and caching seem to be more powerful. And their code acceleration effect I have not tried, do not know which has more scientific data to be consulted.

In addition, I searched the next, there are some older accelerators, such as Zend Performance Suite,turck MMCache have stopped the development, is not the presence of APC caused it?

Reply content:

Now the most used is APC, because it is directly integrated in PHP, as long as it is compiled with parameters can be used directly, without the need to download the plug-in.

I've used only APC and Eaccelerator, and the capabilities of APC and caching seem to be more powerful. And their code acceleration effect I have not tried, do not know which has more scientific data to be consulted.

In addition, I searched the next, there are some older accelerators, such as Zend Performance Suite,turck MMCache have stopped the development, is not the presence of APC caused it?

The performance difference is not big, can use anything. As long as it works properly and passes the stress test.
Recently I tend to eaccelerator, mainly because XCache once led to nginx502, APC accidentally lost the include file.

These accelerators collectively known as opcode cache, all support opcode cache function, the performance gap is not small, Zhao Yi is right, which is used in your project without problems first use which.

In addition to opcode cache, people often use their variable cache function (unlike memcached, Apc/eac/xcache they are in local memory, without network overhead, faster), the earlier EAC does not support variable caching, and later supported. XCache is a Chinese work, almost the same as the APC function.

In addition, in 08, we encountered APC bomb problem, according to the foreign community said XCache on this issue better, and later we use another method, no test data show is not xcache better.

APC bomb problems See also: Http://notmysock.org/blog/php/user-ca ...

Turck MMCache just out of time very strong, performance overload Zend Official accelerator, later Zend company Turck author dug past, this product also withdrew from the lake. Open source enthusiasts on the basis of Turck fork A code, is the later eaccelerator

You can refer to the article "Three Free PHP Accelerator: APC, Eaccelerator, XCache comparison-VPS Detective": http://www.ithr.org.cn/blogs/blog1.ph ...

Summary of PHP Accelerator comparison results
1, the test results eaccelerator in the request time and memory occupation of the synthesis is the best.
2, through the test to obtain the use of accelerators than no accelerator in the request time is about 3 times times faster.
3, through the official observation, XCache is the fastest update, which also shows the most development.

The above is a summary of the results, you may ask me in the end use that accelerator good? I can only tell you, first of all, with a certain better than not, and then each accelerator has some tunable parameters, so depending on your system environment, then, I personally think you can study the eaccelerator and XCache in detail, the two potential is still very large.

Eaccelerator Official website: http://eaccelerator.net/, the latest release is 0.9.6.1 (2010/05/31), support php5.1-5.3, release history:

    1. Release-0.9.6.1-2010/05/31
    2. release-0.9.6-2010/02/04
    3. Release-0.9.6-rc2-2010/01/26
    4. Release-0.9.6-rc1-2009/07/15
    5. Release-0.9.5.3-2008/05/18
    6. Release-0.9.5.2-2007/09/03
    7. Release-0.9.5.1-2007/05/06
    8. Release-0.9.5-2006/10/11
    9. Release-0.9.5-rc1-2006/07/25
    10. Release-0.9.5-beta2-2006/04/11
    11. Release-0.9.5-beta1-2006/02/15
    12. Release-0.9.4-2006/02/15

XCache Official website: http://xcache.lighttpd.net/, Latest release 2.0.1 (20120714)

Official introduction: XCache is a fast and stable PHP opcode cache. Good testing and stable operation on large-flow/high-load production machines. After testing (on Linux) and supporting the latest release versions of all current PHP branches, such as Php_5_1 php_5_2 Php_5_3 Php_5_4. and perfectly supports thread-safe/windows. Better than a similar opcode cache, such as the ability to quickly follow up on PHP versions.

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.