Server: http://jehiah.cz/projects/memcached-win32/
Client: http://code.google.com/p/memcached/wiki/Clients
Install memcache in Windows:
1. Download the stable version of memcache for Windows and decompress it to a disk, for example, in c: \ memcached
2. Enter 'C: \ memcached \ memcached.exe-D install' on the terminal (that is, the CMD command interface) to install
3. Enter 'C: \ memcached \ memcached.exe-D start' to start. Note: in the future, memcached will be used as a Windows Service and will be automatically started every time it is started. In this way, the server has been installed.
4. Enter: C: \ memcached \ memcached.exe-d stop | Shutdown to close.
Basic settings of memcached:
-P listening port
-L connected IP address. The default value is local
-D start: Start the memcached service.
-D restart: restart the memcached service.
-D stop | Shutdown the running memcached Service
-D install the memcached Service
-D uninstall memcached Service
-U runs as the identity (only valid when running as root)
-MB maximum memory usage, in MB. The default value is 64 MB.
-An error is returned when M memory is used up, instead of deleting items.
-C: Maximum number of simultaneous connections. The default value is 1024.
-F block size growth factor, default value: 1.25
-N: minimum allocation space. The default value of key + value + flags is 48.
-H Show Help
Common commands:
1. telnet to the memcache server, for example, Telnet 192.168.103.11 11211 (11211 is the default port of memcache)
2. view basic information in stats
3. Stats items shows many items lines.
4. Stats cachedump 3 0 (3 is the number after items, 0 indicates displaying all)
5. Get key (the key is the string after the item, that is, the key)