Memcached Tutorial
Memcached is a free and open-source, high-performance, distributed memory object caching system.
Developed primarily by Brad Fitzpatric of Danga Interactive, which is owned by LiveJournal, Memcached has become a crucial factor in enhancing the scalability of web applications for services like mixi, hatena, Facebook, Vox, and LiveJournal.
Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) derived from results of database calls, API calls, or page rendering.
It is simple yet powerful. Its design facilitates rapid development, eases development effort, and addresses many issues of caching large data volumes. Its API is compatible with most popular programming languages.
At its core, it is a straightforward key-value storage system.
Its primary use is to cache database query results, reduce database access frequency, and enhance the speed and scalability of dynamic web applications.
Memcached Official Website: https://memcached.org/.
Features
As a high-speed distributed caching server, memcached has the following characteristics:
- Simple protocol
- Event handling based on libevent
- Built-in memory storage
- Distributed without inter-communication
Supported Languages
Many languages have client libraries for connecting to memcached, with Perl and PHP being predominant. Languages listed on the memcached website include:
- Perl
- PHP
- Python
- Ruby
- C#
- C/C++
- Lua
- And more
Memcached Users
- LiveJournal
- Wikipedia
- Flickr
- Bebo
- Typepad
- Yellowbot
- Youtube
- WordPress.com
- Craigslist
- Mixi