Distributed Cache Memcache

Source: Internet
Author: User

    • The memcached is distributed , meaning it is not local. It is based on a network connection (and of course it can also use localhost) to complete the service itself, which is an application-independent program or daemon (daemon mode).
    • Memcached uses the libevent library for network connectivity services. Libevent is a library that encapsulates event-handling functions such as Linux's Epoll, BSD-class operating system kqueue, and so on as a unified interface. The Performance of O (1) can be played even if the number of connections to the server increases.
    • Memcached is a "distributed" memory object caching system that does not need to be "distributed", does not need to be shared, or is simply small enough to have only one server application, memcached does not bring any benefits, but also slows down system efficiency, because network connectivity also requires resources. The real bottleneck is network connectivity .
    • Memcached uses memory to manage data, so it is volatile, when the server restarts, or the memcached process aborts, the data is lost, so memcached cannot be used to persist the data. And when the content capacity reaches the specified value, the unused cache is automatically deleted based on the LRU(Least recently used) algorithm.
    • Memcached Although it is a "distributed" cache server, there is no distributed functionality on the server side. Each memcached does not communicate with each other to share information. Depends entirely on the implementation of the client to be distributed.

Http://www.ha97.com/4575.html

http://kb.cnblogs.com/page/42732/

http://kb.cnblogs.com/page/42734/

Distributed Cache Memcache

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.