Memcached is a high-performance distributed memory object caching system, many people around the world use this cache project to build their own heavy-duty web site, to share the pressure of the database, by maintaining a unified huge hash table in memory, it can be used to store various formats of data, including images, The results of videos, files, and database retrieval. The simple thing is to call the data into memory and then read it from memory, which greatly improves the reading speed. (Note: Excerpt from Baidu General Branch)
After the service starts, the port is 11211.
Installation steps
(1) Download memcached software
(2) Installation
Go to cmd and switch to the directory where the Memcached.exe file is located
Memcached.exe–d Install
(3) Start memcached
First, you can click on the service to start
The second type , command line
Memcached.exe–m 200mb–d start " deamon mode , default 64M"
If thewin7 boot is unsuccessful when you start, you can use the following methods
Memcached.exe–p Port number
Start method do not close the console .
Port number Range : 0-65535, because the port number is represented by two bytes
Famous Port : 0-1024 has been used in the program , Apache, MySQL 3306, ftp, SSH
oracle:1521, stmp:25
Use netstat –an If you see the 11211 port is listening, the boot OK
NETSTAT–ANB is which program listens , This instruction also can see which user connects to our server .
If it is not installed , the reason May
1. If you are win7, Win7 is high on security, all, must be installed as adminstartor identity .
You switch to adminstrator, go to install, start in
2. Your memcached.exe directory has Chinese, or special characters , to ensure that the directory does not have Chinese and special characters .
Memcache principle and Installation