Memcached. phpForUnixSocket

Source: Internet
Author: User
As mentioned in the previous article, Yac is acceptable because it is faster than Memcachedport. After the first two or three cases have occurred, I feel that I can get one card and one card at a time, but I still have to run it for a while. Leave it blank. Try to switch Memcached to UnixSocket and find that it is faster than Yac, and the most important thing is stability. Because Memcached uses Unixsock

As mentioned in the previous article, Yac is acceptable because it is faster than the Memcached port mode. After the first two or three cases have occurred, I feel that I can get one card and one card at a time, but I still have to run it for a while. Leave it blank. Try to switch Memcached to a Unix Socket and find that it is faster than Yac, and the most important thing is stability. Because Memcached uses Unix sock


As mentioned in the previous article, Yac is acceptable because it is faster than the Memcached port mode.

After the first two or three cases have occurred, I feel that I can get one card and one card at a time, but I still have to run it for a while.

Leave it blank. Try to switch Memcached to a Unix Socket and find that it is faster than Yac, and the most important thing is stability.

Because Memcached uses Unix socket, the port mode is automatically disabled, so some file parameters are modified.

As early as the beginning of the year, after testing the Memcached module faster than the Memcache module, it basically gave up the Memcache module. (Memcache, Memcached, Redis, and other modules were tested, as well as Predis)

The main reason is that there is no time to complete Memcached's use of Unix Socket.

Attach memcache. php.

This is a php graphic web page used to monitor the Memcache status. The original author did not add support for Unix socket access. Just add a judgment.

Keywords: An APC-like stats/info page for your memcached servers. (unix socket support)

In addition, the result of the AB test is attached.
ab -n 10000 -c 100 http://kn007.net/

Reprinted please note

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.