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
SquidHigh-performance proxy caching server and web cache daemon
EnvoyHigh performance edge and service proxy
Apache APISIXDynamic API gateway with load balancing and traffic management
ApacheHugely popular web server with caching modules
SouinHTTP cache system

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted