Memcached Memcached cache and key-value software with documented persistence and substitution limits.
Overview Memcached is a distributed key-value cache for reducing repeated application work and database load. It stores application values for rapid reuse and is intended as temporary storage whose contents can be regenerated. Its role is different from an authoritative database: an application should remain correct when entries expire, are evicted or disappear after a failure.[2] [3]
Contents Distribution and routing Cache clients and deployment topology determine where values are stored and retrieved. Memcached also offers a built-in proxy with backend pools and configurable routing, including rules based on key prefixes or listening ports. The proxy is an optional build feature, not automatically enabled in every binary. Its route library can be customized, but that is separate from treating cache nodes as a durable database cluster.[2] [4]
Warm restart is not crash recovery Warm restart can preserve cache contents across a clean restart under compatible settings. It requires a deliberate shutdown path and cannot compensate for updates missed while the instance is stopped. Changes to settings such as the memory limit or maximum item size can cause a clean cache instead. Persistent memory support does not make this mechanism crash-safe.[5]
Flash storage boundaries Extstore moves values to flash while keeping keys and tracking information in RAM. It can expand useful cache capacity, especially for larger values, but the documentation states that a restart effectively empties the flash cache. This is capacity tiering for expendable cached objects, not a general replacement for durable disk-backed database storage.[6]
Licensing and application design Memcached is BSD-3-Clause licensed. Its FAQ emphasizes the ephemeral design and warns against applications depending on recovering every key or retaining irreplaceable session state. Adding a cache also adds network round trips and can fail to improve an already efficient workload. Cache placement and miss behavior are therefore part of application design rather than an automatic performance upgrade.[1] [3]
Substitution considerations Memcached can substitute for Redis Open Source when the requirement is rebuildable key-value caching and the application can adopt Memcached's client protocol. This narrow overlap does not cover Redis's richer structures, streams, scripting or configured durable state. Warm restart and flash storage are useful distinctions, but neither justifies treating Memcached as a drop-in persistent Redis database.[2] [5] [6] [7]
References memcached license Applicable license terms and version scope
vendor · retrieved 2026-10-07 About Memcached Distributed application cache and database-load reduction
vendor · retrieved 2026-10-07 Memcached FAQ Official indexed guidance: ephemeral store, cache misses and unsupported database use
vendor · retrieved 2026-10-07 Memcached built-in proxy Build-time enablement, pools and Lua route configuration
vendor · retrieved 2026-10-07 Memcached warm restart Clean restart recovery, incompatible settings and no crash safety
vendor · retrieved 2026-10-07 Memcached flash storage RAM-resident keys, external values and restart data loss
vendor · retrieved 2026-10-07 Redis data types Native collections, caching, streams and extension mechanisms
vendor · retrieved 2026-10-07 Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.