memcached configuration and use under Windows

Source: Internet
Author: User

memcached Study notes---- Installation and Configuration

First, download the memcached related files.

Open the console, enter the memcached main program directory, enter:

memcached.exe-d Install  // installation memcached service memcached.exe-d start    //  Open the Memcached service

You will see that there is more than one memcached service process in the process.

Client Connection and Operation

Open a new console and enter:

Telnet to your server IP (local 127.0.0.1) memcached's listening port number (default is 11211)

This allows you to connect to the memcached as a client and view and manipulate it.

to view memcached service information, enter at the command line: stats The following information is displayed:

memcached Access command:

The command format is:

1 <command name> <key> <flags> <exptime> <bytes>2///Note that you should remember to enter  3 <data block>

Command explanation:

<command name>

Set/add/replace

<key>

find keywords

<flags>

integer parameter, which the client uses to store additional information about key-value pairs

<exptime>

0 = Forever)  

<bytes>

bytes stored

<data Block>

data blocks stored (can be directly understood as key-value value )

Write this today and continue tomorrow ....

memcached configuration and use under Windows

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.