--- Introduction and installation of memcached server (switch)

sponsored links
What is Memcached?

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 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
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of --- Introduction and installation of memcached server (switch)

  • Ext JS FormPanel summary of the submission of data ....

    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 ...

  • Buffalo has PHPRPC and those differences

    zhou7707 wrote Asked about Comet support on how to? Chen Jinzhou of Buffalo and has those differences ? 1, PHPRPC with Buffalo positioning different, Buffalo only positioning in a Javascript to Java's remote procedure call. PHPRPC not only suppor ...

  • Javascript in the browser environment (seven) XMLHttpRequest

    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

  • Hibernate performance tuning (the focus of understanding)

    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 ...

  • Imitation Java type HashMap implementation of JavaScript

    Imitation Java type HashMap implementation of JavaScript

  • IBM Ajax Tutorial Series

    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 ...

  • jquery ajax example

    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 ( ...

  • Software engineer must know the concept of the 10

    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

  • lighttpd + fastcgi built a server how to preserve the status of server

    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

  • Based on JDBC, JPA Annotation achieve simple CRUD Generic Dao

    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

blog comments powered by Disqus
Recent Entries
Tag Cloud
Random Entries