Memcache principle and Installation

Source: Internet
Author: User

Memcached is a high-performance distributed memory object caching system, many people around the world use this cache project to build their own heavy-duty web site, to share the pressure of the database, by maintaining a unified huge hash table in memory, it can be used to store various formats of data, including images, The results of videos, files, and database retrieval. The simple thing is to call the data into memory and then read it from memory, which greatly improves the reading speed. (Note: Excerpt from Baidu General Branch)

After the service starts, the port is 11211.



Installation steps

(1) Download memcached software

(2) Installation

Go to cmd and switch to the directory where the Memcached.exe file is located

Memcached.exe–d Install

(3) Start memcached

First, you can click on the service to start

The second type , command line

Memcached.exe–m 200mb–d start " deamon mode , default 64M"

If thewin7 boot is unsuccessful when you start, you can use the following methods

Memcached.exe–p Port number

Start method do not close the console .

Port number Range : 0-65535, because the port number is represented by two bytes

Famous Port : 0-1024 has been used in the program , Apache, MySQL 3306, ftp, SSH

oracle:1521, stmp:25

Use netstat –an If you see the 11211 port is listening, the boot OK

NETSTAT–ANB is which program listens , This instruction also can see which user connects to our server .

If it is not installed , the reason May

1. If you are win7, Win7 is high on security, all, must be installed as adminstartor identity .

You switch to adminstrator, go to install, start in

2. Your memcached.exe directory has Chinese, or special characters , to ensure that the directory does not have Chinese and special characters .


Memcache principle and Installation

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.