Install. NET + Memcached in Windows

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.