Reprinted please indicate the source: http://www.yaosansi.com/
Original article: http://www.yaosansi.com/post/1396.html
Official Memcached: http://danga.com/memcached/
For more information about Memcached, see Memcached deep analysis.
Download Windows Server
: Http://code.jellycan.com/memcached/
Install Memcache Server(You can also start it without installation)
1. Download the stable version of memcached for windows and decompress it to a disk, for example, in c: \ memcached
2. Enter "c: \ memcached \ memcached.exe-d install" in CMD to install the SDK.
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.
If the download is a binary version, you can directly run it. You can add parameters to set it.
Common settings:
-P <num> listening port
-L <ip_addr> 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 <username> runs as <username> (valid only when running as root)
-M <num> 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 <num> maximum number of simultaneous connections. The default value is 1024.
-F <factor> block size growth factor. The default value is 1.25.
-N <bytes> minimum allocated space. The default value of key + value + flags is 48.
-H Show Help
Then you can use the. net memcached client to try it out.
C # available APIs (detailed descriptions and notes are provided for each client API)
Https://sourceforge.net/projects/memcacheddotnet/
Http://www.codeplex.com/EnyimMemcached/-Client developed in. NET 2.0 keeping performance and extensibility in
Mind. (Supports consistent hashing .)
Http://code.google.com/p/beitmemcached/-Client developed by BeIT with latest new features