One: Memcached Introduction (1) Website: www.mamcached.org (2The main function is: high-performance, distributed memory object cache system. (3NoSQL is not just a relational database, but a notable feature of key value storage. such as memcached, Redis, or document-based storage such as: MongoDB. Two: Memcached installation (1) Memcached.exe Download: http://download.csdn.net/detail/changelim/4188980(2) Open dos:win+The r input cmd is assigned to the Memcached.exe file you extracted by using the command (3) such as: Put in e:/under Jim Directory (4dos operation: E: Enter CD Jim Enter to see if there is a Memcache.exe software dir carriage return (5) View memcached's Help document DOS action: Memcache.exe-Help View Operations Command documentation (6) memcache default TCP port is11211 (7) Start memcache common parameters [common commands]memcached1.4.3-P <num> Set port number (default is not set to:11211)-U <num> UDP Listening port (default:11211,0when closed)-L <ip_addr> Bind address (default: All allowed, regardless of internal or external network or local replacement IP, there is a security risk, if set to 127.0.0. 1 can only be accessed natively)-d Duli Process run-U <username> bind use specified to run the process <username>-m <num> allow maximum memory usage, Unit m (default: -MB)-P <file> writes the PID to the file <file>, which enables fast process termination behindD used together such as: Run Memcache.exe-M --P11211-VVV indicates that the memcached maximum storage is 64M for the specified port of 11211 information output (8Memcached Links: Memcached Client-server communication is simpler, using text-based protocols rather than binary. (This is also true for the HTTP protocol). So we can interact with memcached via Telnet. (9to turn on Telnet dos input telnet command Note: The Win7 operating system is not telnet, so download and install. : http://www.pc6.com/SoftView/SoftView_25652.html. The installation process is: http://soft.yesky.com/204/31059704.shtml. Communication Format: Telnet host port such as local test: Telnet127.0.0.1 11211If the Black window is opened, the description succeeds. In the Telnet window, type: Hold down CTRL+], turn on Echo, and enter. Memcached Adding Add News0 0 8\ r \ n Enter the value of your character in carriage return memcachedGetNews return
Memcached Installation and introduction