Memcached tutorial


Release date:2024-03-18 Update date:2024-03-18 Editor:admin View counts:71

Label:

Memcached tutorial

Memcached is a free open source, high-performance, distributed in-memory object caching system.

Memcached is a software developed by Brad Fitzpatric of Danga Interactive, a subsidiary of LiveJournal. Now it has become an important factor to improve the scalability of Web applications in many services, such as mixi, hatena, Facebook, Vox, LiveJournal and so on.

Memcached is a memory-based key-value Storage, which is used to store arbitrary data (strings, objects) of small pieces. This data can be the result of database calls, API calls, or page rendering.

Memcached is simple and powerful. Its concise design facilitates rapid development, reduces the difficulty of development, and solves many problems of large amount of data cache. Its API is compatible with most popular development languages.

In essence, it is a concise key-value Storage system.

The purpose of general use is to reduce the number of database visits by caching database query results, so as to improve the speed and scalability of dynamic Web applications.

Image0

Memcached official website: https://memcached.org/.

Features

memcached As a high-speed distributed cache server, it has the following characteristics.

  • The protocol is simple

  • Based on libevent Event handling based on

  • Built-in memory storage

  • memcached Distributed that do not communicate with each other

Supported languages

Many languages have implemented connections memcached The client side is mainly Perl and PHP. only memcached Listed on the website are:

  • Perl

  • PHP

  • Python

  • Ruby

  • C#

  • C / C +

  • Lua

  • Wait

Memcached user

  • LiveJournal

  • Wikipedia

  • Flickr

  • Bebo

  • Twitter

  • Typepad

  • Yellowbot

  • Youtube

  • WordPress.com

  • Craigslist

  • Mixi

Powered by TorCMS (https://github.com/bukun/TorCMS).