Reprint please indicate source: http://www.yaosansi.com/
Original:http://www.yaosansi.com/post/1396.html
Memcached official: http://danga.com/memcached/
For an introduction to memcached, please refer to: memcached depth analysis
Download the server side of Windows
: http://code.jellycan.com/memcached/
Installing Memcache Server (You can also not install the direct boot)
1. Download Memcached's Windows stable version and unzip it under a disk, for example, in c:\memcached
2. Under CMD, enter the "c:\memcached\memcached.exe-d Install" installation.
3. Re-enter: "C:\memcached\memcached.exe-d start" starts. Note: memcached will start automatically every time a service is turned on for Windows. This way the server side is already installed.
If you are downloading a binary version, you can run it directly, and you can add parameters to set it up.
Common settings:
-P <num> Monitored ports
-L <ip_addr> connected IP address, default is native
-D Start memcached service
-D Restart Restart memcached service
-D Stop|shutdown Close the running memcached service
-D Install memcached service
-d Uninstall Uninstall memcached service
-U <username> Run as <username> (only valid when run as root)
-M <num> maximum memory usage, in megabytes. Default 64MB
-M running out of memory and returning an error instead of deleting an item
-C <num> Maximum number of simultaneous connections, default is 1024
-F <factor> block size growth factor, default is 1.25
-N <bytes> Minimum allocated space, key+value+flags default is 48
-H Display Help
You can then use the. NET memcached client to try it out.
APIs available under C # (detailed instructions and comments in 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 many new features
installation of. net+ memcached under Windows