Memcached is a high performance distributed memory object caching system for dynamic Web application to reduce the database load. It does this by caching data in memory and objects to reduce the number of times to read the database to provide dynamic, database-driven Web site speed. Memcached is based on a memory key / value pairs hashmap. The daemon (daemon) is written in C, but the client can be written in any language, and by agreement with the memcached daemon communication. But it does not provide redundancy (for example, copy the hashmap entry); When a server S stops or crashes, all stored in the S on the key / value pairs are lost.
Memcached developed by the Danga Interactive for LiveJournal.com improve access speed. LJ dynamic page views per second, thousands of times, the user 7000000.
Memcached will significantly reduce the database load, and better allocation of resources, faster access.
How to use the memcached-Server-side?
In the server running: #. / Memcached-d-m 2048-l 10.0.0.40-p 11211
This will start a process that takes 2G memory, and open the 11211 port for receiving requests. Because the system can only handle 32-bit addressing 4G memory, so more than 4G memory usage on the server PAE 32-bit processes can run 2-3, and listen on different ports
http://code.jellycan.com/memcached/ download memcached-1.2.1-win32.zip package
memcached 1.2.1 for Win32 binaries
This is the Win32 memcached server latest version, downloaded directly on it;
With the source package, in accordance with the following steps
1. Unzip the file to c: \ memcached.
2. The command line, type 'c: \ memcached \ memcached.exe-d install'; or run c: \ memcached \ instalService.bat file.
3. The command line, type 'c: \ memcached \ memcached.exe-d start'; or run c: \ memcached \ memcached.exe file. (The command to start Memcached, the default port is 11211 ******)
(Note: after windows memcached as a service to automatically start each time. This server has been installed a)
By memcached.exe-h to view its help
Related Posts of --- Introduction and installation of memcached server (switch)
Returns the fields in this form as an object with key / value pairs as they would be submitted using a standard form submit. If multiple fields exist with the same name they are returned as an array. Parameters: * AsString: Boolean (optional) false t ...
XMLHttpRequest XMLHttpRequest is a function used to create a http request. XHR initial IE through ActiveX objects are realized. After the beginning of the various browsers support. Now AJAX is the popular XMLHttpRequest object to the adoption of the imple
1. Object Cache: fine-grained, in view of the table Record Level, transparent access, without changing the procedure code can greatly enhance the performance of web applications. ORM object cache is a magic weapon for the victory. 2. The merits of th ...
Links: http://ibm.csdn.net/ISN_J.aspx?action=JMP&pointid=1550 Part 10: Using JSON for data transmission In the asynchronous application to send and receive information, you can choose to plain text and XML as data format. Ajax grasp of this issue ...
1. Check js file $. ajax (( type: "GET", url: "test.js", dataType: "script" )) 2.post data $. ajax (( type: "POST", url: "xxxx", data: "name = zhaoaiqing & age = 25", success: function ( ...
35 kilometers wrote "excellent software engineers make the best use of design patterns and diligent code Reconstruction, the preparation of unit testing, and has easy religious pursuit. In addition to these, excellent software engineers but also prof
Requirements: server-side has much static files, there is much use of c + + to prepare the operational components necessary to carry out these functions on the external packaging Published Service, server-side state required to preserve the client (simila
The origin of ideas are pretty long history of reasons: [Use iBATIS history] The use of iBATIS has been a long time, the system is to use the CRUD template tool to generate the code, although there are tools to generate, but looked at a lot of CRUD the Sq