Distributed Cache-memcache Definition

Source: Internet
Author: User
Memcache is an open-source, high-performance distributed memory object caching system that reduces database access, improves application access and reduces database load in applications. In order to provide high-speed data lookup capability in memory, Memcache stores and accesses data in the form of key-value, maintaining a huge hashtable in memory, and the time complexity of finding data is reduced to O (1), guaranteeing high-speed access to data. Because the size of the memory is limited, when there is not too much space in memory to store the new data, Memcache uses the LRU (Least recently used) algorithm to eliminate the least recently unused data to make room for the new data. The Memcache client and the server communicate by building the Memcache protocol on top of the TCP protocol, which supports two kinds of data transfer, the two of which are text lines and unstructured data, respectively. Text line : The command that is used primarily to host the client and the response from the server side. non-institutional data : used primarily for client and server-side data transfer. Memcache itself is not a distributed cache system, his distribution is mainly by accessing his client to achieve.

Distributed Cache-memcache Definition

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.