memcached Introduction to Windows Environment installation

Source: Internet
Author: User

1, Memcached Introduction

Memcached is a high-performance distributed memory object caching system that improves access performance for dynamic, database-driven applications by caching data and objects in memory to reduce the number of times a database is read. Memcached is based on a hashmap that stores key-value pairs, and its daemon is written in C, but the client can write in any language and communicate with the daemon through the memcached protocol!

Characteristics of memcached

The protocol is simple: server and client communication does not use complex XML format, but is based on text line protocol

Libevent-based event handling: Libevent is a library that encapsulates the event processing capabilities of each operating system into a unified interface, regardless of how many machines can perform their high-performance benefits

Built-in memory storage: The data is stored in its own memory storage space, because the data only exists in memory, the service once restarted, the data will be all lost, in addition, the data reached a certain value, based on the LBU algorithm automatically delete unused cache, regardless of data persistence problem

Distributed without communication: The server side does not have distributed functionality, and "distributed" depends entirely on the client's implementation

2, memcached installation

Step one: Download memcached for Windows stable, unzip, put the Memcached.exe file into the letter you want to store, such as C:\Windows\System32

Step two: Run as Administrator command: c:\windows\system32\memcached.exe-d install

Step three: Start the service command: c:\windows\system32\memcached.exe-d start

memcached Introduction to Windows Environment 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.