Memcached 简明教程

Memcached - Overview

Memcached 是一个开源、高性能的分布式内存缓存系统,旨在通过减轻数据库负载来加速动态 Web 应用程序。它是一个存储在内存中的字符串、对象等键值对字典,源自数据库调用、API 调用或页面渲染。

Memcached is an open source, high-performance, distributed memory caching system intended to speed up dynamic web applications by reducing the database load. It is a key-value dictionary of strings, objects, etc., stored in the memory, resulting from database calls, API calls, or page rendering.

Memcached 于 2003 年由 Brad Fitzpatrick 为 LiveJournal 开发。然而,它现在正被 Netlog、Facebook、Flickr、Wikipedia、Twitter 和 YouTube 等公司使用。

Memcached was developed by Brad Fitzpatrick for LiveJournal in 2003. However, it is now being used by Netlog, Facebook, Flickr, Wikipedia, Twitter, and YouTube among others.

Memcached 的主要特性如下:

The key features of Memcached are as follows −

  1. It is open source.

  2. Memcached server is a big hash table.

  3. It significantly reduces the database load

  4. It is perfectly efficient for websites with high database load.

  5. It is distributed under Berkeley Software Distribution (BSD) license.

  6. It is a client-server application over TCP or UDP.

Memcached is not −

  1. a persistent data store

  2. a database

  3. application-specific

  4. a large object cache

  5. fault-tolerant or highly available