PHP memcache and memcached extension difference "reprint"

Source: Internet
Author: User
Tags php memcached

Laosheng a long conversation. I'll tidy it up here.

Memcache's document in: Http://pecl.php.net/package/memcache

Memcached's document in: http://pecl.php.net/package/memcached

First look at the time, Memcache was first developed in February 2004, the last update is in April 2013, and Memcached was first developed in January 2009, the last update is in January 2014 updated. So Memcache's history is earlier than memcached.

Installing the memcache extension does not require the installation of other things, but in the installation of memcached will require you to install libmemcached, the problem, libmemcached is the C client of Memcache, it has the advantage of low memory, Line Cheng and other characteristics. such as Sina Weibo before the full memcache of PHP to replace the PHP memcached, in high concurrency, stability decisively improved.

List of Memcache methods in: Http://cn2.php.net/memcache

List of memcached methods in: http://www.php.net/manual/zh/book.memcached.php

Memcache methods are particularly rare, such as getmulti,setmulti are not, basic left the simplest get and set. So "memcached than memcache to support more memcache protocol."

Then memcached directly configured the session support, as long as a slight modification of the configuration file can be stored in the session memcache.

PHP memcache and memcached extension difference "reprint"

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.