software · Q1355
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]
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]
Capabilities & limitations
Rebuildable application cache
supportedCaches values to reduce repeated database or application work.[2]
Application caching and key-value operations · Self-hosted servers, Containers · Deployment, release, command and persistence requirements apply
1 source · check evidence
Distributed application cache and database-load reduction
vendor · checked 2026-10-07Warm restart
limitedPreserves cache only through compatible clean restarts; does not provide crash safety.[5]
Application caching and key-value operations · Self-hosted servers, Containers · Deployment, release, command and persistence requirements apply
1 source · check evidence
Clean restart recovery, incompatible settings and no crash safety
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
Redis Open Source for Rebuildable key-value caching
limitedAssessment: substitutes for cache-only workloads with a client-protocol change; does not cover Redis structures or durable-state expectations.[2][3][7]
Self-hosted servers, Containers · Deployment, release, command and persistence requirements apply
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
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 1403 | 2026-10-14 12:20:49 | /* wbeditentity-create-item:0| */ sf:7a9da742-e3b1-47d1-9edd-bf046b162107:v1 | Add Memcached with cited caching, persistence, licensing and compatibility boundaries; no installation or testing performed. | attribution: /proposals/7a9da742-e3b1-47d1-9edd-bf046b162107 |