Memcached Official website: http://memcached.org/Currently the latest version (stable stable version) is 1.4.24, source package: http://www.memcached.org/files/memcached-1.4.24.tar.gzMemcached relies on the libevent Library, which needs to be compiled first libevent,:http://jaist.dl.sourceforge.net/project/levent/libevent /libevent-2.0/libevent-2.0.22-stable.tar.gzInstallation process:Libevent① Decompress
Directory of this documentmemcached Efficient use of resources in data deduplication· The data doesn't really disappear from the memcached.· Lazy Expiration· LRU: The principle of effectively deleting data from the cacheThe latest development direction of memcached· About the binary protocol· Format of the binary protocol· A striking place in the headerExternal engine support· The need for external engine s
Appendix: Mechanism of memcached
A: ① Based on the C/S architecture, the Protocol is relatively simple
C/S architecture. At this time, memcached is the server end. We can use programs such as PHP and C ++/C to connect to the memcached server.
Memcached Server client communication does not use XML or other formats, but
Http://tech.idv2.com/2008/07/10/memcached-001/
Translation of a technical reviewArticleIt is about the serialization of memcached. Fcicq said this is very useful and I hope you will like it.
Posting date: 2008/7/2Author: Masahiro Nagano)Link: http://gihyo.jp/dev/feature/01/memcached/0001
I am Nagano from the system operation group of Mixi Development Departm
Series article Navigation:
Memcached completely dissect –1. The foundation of Memcached
memcached comprehensive analysis of –2. Understanding the memory storage of memcached
memcached comprehensive analysis of –3. The deletion mechanism and development direction of
Chapter 2 memcached applications and compatible programs
Start with daemontools
Generally, memcached runs quite stably, but Mixi uses the latest version 1.2.5 several times.
The memcached process is dead. The architecture ensures that services are not affected even if several memcached faults exist.
The
Complete memcached analysis-1. the basis of memcached. Published on: 200872 original link: gihyo. jpdevfeature01memcached0001 this article series links here: 1st times: www.phpchina.comhtml29n-35329.html
Posting Date: 2008/7/2Link: http://gihyo.jp/dev/feature/01/memcached/0001Here is the link to this series of articles:
1st times: http://www.phpchina.com/html
stably, but Mixi now uses the latest version of 1.2.5 that has happened several times memcached process has died. The architecture guarantees that the service will not be affected even if there are several memcached failures, but for servers memcached the process to die, as long as the memcached is restarted, the meth
is the local machine), and 11211 is the port number bound to memcached.Then the command line window is black, only the cursor prompts, touch the black and enter stats to get the parameter describing the running status of the memcached server. For example:
Here, uptime is the number of seconds for memcached to run, and pai_get is the number of times the cache is queried. When the two data are separated, th
what is memcached.
Memcached is a software developed by Brad Fitzpatric, a Danga Interactive company in LiveJournal. It 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 incr
http://kb.cnblogs.com/page/42731/
Series article Navigation:
Memcached completely parse –1. The foundation of Memcached
memcached comprehensive analysis of –2. Understanding the memory storage of memcached
memcached comprehensive analysis of –3. The deletion mechanism and
Reprinted from: http://charlee.li/memcached-001.htmlTranslation of a technical review of the article, is to talk about memcached serial. Fcicq classmate said this thing is very useful, I hope you like it.
Release Date: 2008/7/2
Nagano Masahiro (Masahiro Nagano)
Original link: http://gihyo.jp/dev/feature/01/memcached/0001
I am Nagano, develop
Cite someone else's article to learn, address: http://kb.cnblogs.com/page/42731/Translation of a technical review of the article, is to talk about memcached serial. Fcicq classmate said this thing is very useful, I hope you like it.Release Date: 2008/7/2Nagano Masahiro (Masahiro Nagano)Original link: http://gihyo.jp/dev/feature/01/memcached/0001I am Nagano, development Department of Mixi Co., Ltd., operatin
Directory of this documentSlab allocation mechanism: Defragment memory for reuse· Main terms of Slab allocation· The principle of caching records in slab· Disadvantages of Slab Allocator· Tuning with growth factor· View the internal state of the memcached· View the usage status of slabs· Summary of memory storageSlab allocation mechanism: Defragment memory for reuseThe most recent memcached by default uses
given key, when the key expires (survival time is 0), it is automatically deleted), and does not monitor whether the stored key/vlue is expired. Instead, look at the timestamp of the record when you get the key value, and check to see if the key/value is out of space, which can reduce the load on the server
3.Memcached failure Policy lazy expiration + LRU
Lazy expiration function: If the data items stored in a very large number of times
Series Article Navigation:Memcached completely dissect –1. The foundation of Memcachedmemcached comprehensive analysis of –2. Understanding the memory storage of memcachedmemcached comprehensive analysis of –3. The deletion mechanism and development direction of memcachedmemcached comprehensive analysis of –4. The distributed algorithm of memcachedMemcached a comprehensive analysis of the. memcached Application and Compatibility programWhat is
What is memcached?Memcached is a software developed by Brad Fitzpatric, a Danga Interactive company in LiveJournal. It 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
Posting date: 2008/7/2
Link: http://gihyo.jp/dev/feature/01/memcached/0001Here is the link to this series of articles:
1st times: http://www.phpchina.com/html/29/n-35329.html
2nd times: http://www.phpchina.com/html/30/n-35330.html
3rd Times: http://www.phpchina.com/html/31/n-35331.html
4th times: http://www.phpchina.com/html/32/n-35332.html
5th times: http://www.phpchina.com/html/32/n-35333.html
I am Nagano from the system operation group
First, memcached cluster
Memcached consists of memcached server and Memcache client, in which the distributed cache effect must be implemented by the client, but its distribution is a pseudo-cluster, memcached the nodes do not communicate, no data backup, load Balancing function is implemented by the cl
Release Date: 2008/7/2Original link: http://gihyo.jp/dev/feature/01/memcached/0001Links to this series of articles are here:
1th Time: http://www.phpchina.com/html/29/n-35329.html
2nd time: http://www.phpchina.com/html/30/n-35330.html
3rd time: http://www.phpchina.com/html/31/n-35331.html
4th Time: http://www.phpchina.com/html/32/n-35332.html
5th time: http://www.phpchina.com/html/32/n-35333.html
I am Nagano, development
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.