memcached data Cache

Source: Internet
Author: User
Tags memcached

memcached Edit Memcached is a high-performance distributed memory object caching system for dynamic Web applications to mitigate database load. It improves the speed of dynamic, database-driven Web sites by caching data and objects in memory to reduce the number of times a database is read. Memcached is based on a hashmap that stores key/value pairs. Its daemon (daemon) is written in C, but the client can write in any language and communicate with the daemon through the memcached protocol.Foreign namesMemcachedbelongs toCache systemWriting LanguagesUnlimitedmeans of communicationmemcached protocolCatalogue

1 features

2 characteristics

? Agreement
? event handling
? storage mode
? Communication distributed

3 Features

4 Tips for using

Version 5 released

1 functional editing memcachedis a set of distributed cache system, originally Danga Interactive for LiveJournal development, but is used by many software (such as MediaWiki). This is a set of open source software that is released under the BSD License licensing agreement. [1] memcached lacks authentication and security controls, which means that the memcached server should be placed behind a firewall. [The 1] memcached API uses a 32-bit cyclic redundancy check (CRC-32) to calculate the key values and distribute the data across different machines. When the table is full, the next additions will be replaced with the LRU mechanism. Since memcached is often used only as a cache system, applications that use memcached require additional code to update memcached data in the case of writing back to a slower system (like a back-end database) [1] memcached It is a software developed by Brad Fitzpatric, a Danga Interactive company of LiveJournal. has become an important factor in improving Web application extensibility in many services such as Mixi, Hatena, Facebook, Vox, and LiveJournal. Many Web applications save data to an RDBMS, where the application server reads the data and displays it in the browser. However, with the increase of data volume and the concentration of access, the burden of RDBMS, database response deterioration, site display delay and other significant impact. This is the time to memcached. Memcached is a high-performance distributed memory cache server. The general purpose is to reduce the number of database accesses by caching database query results to improve the speed and scalability of dynamic Web applications. The Memcached Daemon (daemon) is written in C, but the client can be written in any language and communicates with the daemon through the Memcached protocol. However, it does not provide redundancy (for example, copying its hashmap entries), and when a server S is stopped or crashed, all key/value pairs stored on s are lost. Memcached was developed by Danga Interactive, and the latest version was released in 2010 by the author of Anatoly Vorobey and Brad Fitzpatrick. For lifting LiveJournal. COM access speed. LJ Dynamic page visits thousands of times per second, user 7 million. Memcached significantly reduces database load, better allocation of resources, faster access.2 feature edits Memcached, as a distributed cache server with high-speed operation, has the following characteristics. Simple protocol · Event handling based on Libevent · Internal Memory Storage Method · Memcached distributed without communication with each other

memcached data Cache

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.