Website

Memcached – distributed in-memory object caching system

Memcached is a distributed in-memory object caching system designed to accelerate applications by reducing repeated database queries and other expensive operations. It stores frequently accessed information in RAM, allowing applications to retrieve previously calculated results without repeating the original work.

The software provides a straightforward key-value interface that can be used by applications written in many programming languages. Rather than acting as a conventional database, Memcached functions as a temporary cache where entries may expire or be evicted when memory becomes scarce.

Its architecture is intentionally simple. Applications decide which information should be cached, while Memcached handles storage, retrieval and memory management. Multiple servers can be combined into larger caching systems, making it particularly useful for busy websites and distributed applications.

This is free and open source software.

Key Features

  • In-memory key-value caching – stores frequently accessed data in RAM for low-latency retrieval.
  • Distributed caching – spreads cached objects across multiple servers using client-side key distribution.
  • Configurable expiration – associates cached objects with expiration times.
  • Automatic eviction – removes eligible objects when memory is required for new entries.
  • Multithreaded operation – processes concurrent client connections using multiple worker threads.
  • Non-blocking networking – uses event-driven I/O to handle network activity efficiently.
  • Atomic operations – supports counters, compare-and-swap operations and other data manipulation commands.
  • Meta protocol – provides advanced cache operations and controls for managing object freshness and concurrency.
  • Built-in proxy – routes requests to backend Memcached servers using configurable pools and routing policies.
  • External storage – optionally stores large object data on flash storage while retaining cache management information in memory.
  • SASL authentication – supports authentication where enabled and configured.
  • Statistics – exposes information about cache hits, misses, memory usage and server operations.
  • Client library ecosystem – integrates with applications through language-specific Memcached clients.

Website: memcached.org
Support:
Developer: Brad Fitzpatrick and contributors
License: BSD 3-Clause ‘New’ or ‘Revised’ License

memcached is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Caching Systems
MemcachedHigh-performance distributed memory object caching system
RedisPersistent key-value database with network interface
HazelcastDistributed in-memory data store and computation platform
Apache IgniteDistributed database, caching and processing platform
EhcacheStandards based pure Java in-process cache
Java Caching SystemDistributed caching system written in Java
CouchbaseDistributed key-value database management system
Apache GeodeDistributed, in-memory data management platform
yrmcdsLRU cache library and key-value server
CachelotMemory object caching system with master/slave replication
InfinispanDistributed, in-memory database and data grid

Read our verdict in the software roundup.

Web Caches
VinylWeb accelerator written with performance and flexibility in mind
HAProxyHigh availability load balancer and proxy server
nginxVery powerful and efficient web server and reverse proxy
Traffic ServerHigh-performance building block for cloud services
MemcachedDistributed memory object caching system
SquidHigh-performance proxy caching server and web cache daemon
EnvoyHigh performance edge and service proxy
nusterHigh-performance HTTP proxy cache server
ApacheHugely popular web server with caching modules
SouinHTTP cache system

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted