installation of. net+ memcached under Windows

Source: Internet
Author: User

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

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.