Memcached
Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
Platform availability
Available on 3 of 10 platforms
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
72/100 Good
- Maintained
- 67last commit 134 days ago
- Popular
- 8314,309 GitHub stars
- Easy to install
- 553 install platforms, install notes, Docker image
- Light to run
- 10064 MB minimum RAM, runs on ARM
- Security check
- 67no serious findings, CI, OpenSSF Scorecard 3.9/10
Availability: platform listings confirmed today, links checked 6 days ago
- GitHub stars
- 14,309
- Open issues
- 139
- Last commit
- 2026-07-10
- License
- BSD-3-Clause
- Activity
- stale
Checked today - source: GitHub (memcached/memcached)
Resources & Compatibility
Minimum requirements: 64 MB RAM, 2 CPU core(s). ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Start two backends on 11212 and 11213 Before the proxy can work, run two normal Memcached servers on TCP ports 11212 and 11213. If these backends are not running, the proxy has nowhere to store your data and saves or reads will fail. source
- Point proxy config at real server addresses In the proxy config's pools section, replace the example host and port values with the actual addresses of your Memcached servers. Wrong backend addresses make the proxy unable to reach the cache servers, so data will not be saved or found. source
- Test the proxy on port 11211 Connect to the proxy on TCP port 11211, not to the backend ports, and set a test key like quickstart/data. If it does not accept the test value, check the proxy config and make sure the backend ports are reachable. source
Fetched 54 days ago - each note links to its source
Variants
Alternatives (3)
- KeyDB - KeyDB is a distributed, Redis-compatible key-value database that adds true multi-master replication, letting any number of servers accept w…
- Redis - Redis is a fast, in-memory data structure store that can be used as a database, cache, and message broker.
- Valkey - Valkey is an open-source, high-performance in-memory key-value datastore forked from Redis.
Checked 54 days ago - source: AlternativeTo
Common questions
How do I enable TLS for memcached?
OpenSSL is optional and enables TLS support, so install a relatively up-to-date OpenSSL development package and use pkg-config. Build with ./configure --enable-tls.
How do I configure the built-in proxy to find my Memcached servers?
In the proxy config's pools section, replace the example host and port values with the actual addresses of your Memcached servers. Wrong backend addresses make the proxy unable to reach the cache servers, so data will not be saved or found.
Is it safe to use the -k/mlockall option for a large cache?
The -k/mlockall option can be dangerous when using a large cache, so make sure the memcached host does not swap. Memcached is memory-only and should never go to disk.
Does memcached have a built-in web admin interface?
Memcached has no built-in web interface. Administrators typically connect via telnet to localhost 11211 and type commands such as stats, stats items, stats slabs, and flush_all.
Answers sourced from github.com, github.com, www.pistack.xyz
Community
Collected 53 days ago - public community threads