Softwr
M

Memcached

Distributed memory object caching system

As of 20 November 2026, Memcached is free to use. The original distributed memory cache. Softwr lists it under Databases. Memcached is launched in 2003, available on Linux, macOS, Windows, Self-hosted.

Overview

What is Memcached?

Memcached is a distributed memory object caching system, built to reduce database load by holding results of expensive queries and API calls in RAM. It was created for LiveJournal in 2003 and remains in production at very large scale. It is defined by what it refuses to do. There is no persistence, no replication, no data structures beyond simple key-value, and no clustering logic on the server — clients decide which node holds which key. That refusal is why it is fast, predictable and almost maintenance-free, and why Redis displaced it wherever more than caching was needed.

What people use it for

  • Caching expensive database query results to cut load
  • Session storage where losing sessions on restart is acceptable
  • Fronting an API whose responses are costly and change slowly

The honest half

Where does Memcached fall short?

The limits buyers hit most with Memcached: no persistence at all: restart a node and its cache is gone, which every design must assume; and no replication or failover, so losing a node loses that share of the cache. Each is concrete and checkable: the half of a review a vendor will not write.

  • No persistence at all: restart a node and its cache is gone, which every design must assume
  • No replication or failover, so losing a node loses that share of the cache
  • Only simple key-value, with none of the lists, sorted sets or streams Redis offers
  • Values are capped at 1MB by default, which surprises teams caching large documents

Cross-shopped

What are the alternatives to Memcached?

The closest alternatives to Memcached are Redis, Valkey and Dragonfly. Each is a tool buyers genuinely weigh against it, with the reason why.

  • Memcached vs Redis

    Redis: The richer alternative with persistence, replication and data structures, and the usual default today

  • Memcached vs Valkey

    Valkey: Open source Redis-compatible store that adds data structures and persistence on top of plain caching

  • Memcached vs Dragonfly

    Dragonfly: Multi-threaded Redis and Memcached compatible in-memory store, for caches that outgrow a single core

Pricing

How much does Memcached cost?

Memcached is free to use. Taken from the vendor's own pricing page; prices move, so check before you buy.

Memcached

Free

  • Full functionality
  • Self-hosted
  • No usage limits

Capabilities

What can Memcached do?

Memcached lists 4 features, including in-memory key-value cache, multithreaded and client-side sharding.

  • In-memory key-value cache

    Simple get and set against RAM, with LRU eviction

  • Multithreaded

    Uses multiple cores on a single node, unlike some single-threaded alternatives

  • Client-side sharding

    Servers stay independent; clients distribute keys across the pool

  • Predictable memory use

    Slab allocation with a fixed memory ceiling per node

Answered, with sources

Questions people ask

Each answer names the page it came from, so you can check it rather than take our word for it.

Is Memcached free?

Yes, open source with no licence fee.

Memcached or Redis?

Memcached is a pure cache: simpler, multithreaded and very predictable. Redis adds persistence, replication and rich data structures, which is why it is the default choice unless you specifically want a cache and nothing more.

Does Memcached persist data?

No. Everything is in memory and lost on restart, by design.

Behind it

Who makes Memcached?

Memcached is made by Memcached, founded in 2003 and based in Open source project.

Company
Memcached
Based in
Open source project

Checked against

Sources

The pages the facts above were read from. Prices and limits change, so the vendor's own page is the final word.

  • Memcached, Wikipediaen.wikipedia.orgdeveloped by Brad Fitzpatrick, first released 22 May 2003, BSD licence
Share

Keep looking

Where to go from Memcached

Best Databases software for

Compare Memcached with

Other Databases software

  • Open-source in-memory data store forked from Redis

    Open source9 researched notes
  • Database caching and optimization that reduces infrastructure costs 30-70%

    Free plan12 researched notes
  • AWS managed in-memory cache for Valkey, Redis OSS and Memcached

    13 researched notes
  • The real-time data platform

    Free, then $5/mo11 researched notes
  • High-performance Redis-compatible in-memory datastore with 25x better throughput

    Free, then $36/mo11 researched notes
  • Open source relational database

    Free plan16 researched notes
  • MIT-licensed analytical SQL database that runs inside your process, with no server, no dependencies and one writer at a time.

    Free plan14 researched notes
  • Cloud-native messaging and streaming with separated storage

    Open source12 researched notes
  • High-performance messaging system for cloud-native applications

    Open source12 researched notes
  • Streaming SQL engine built on ClickHouse internals, shipping as one small binary

    Free, then $199/mo15 researched notes
  • The Meta-lineage distributed SQL query engine, distinct from the Trino fork

    Open source15 researched notes
  • SQL transformation framework enabling analytics engineers to version, test and deploy models

    Free plan12 researched notes
  • Apache 2.0 distributed graph database written in Go, maintained by Hypermode, queried through GraphQL or its own DQL language.

    Free plan14 researched notes
  • Fully managed relational database service for MySQL, PostgreSQL, and SQL Server

    Free plan12 researched notes
  • Serverless analytics data warehouse built on DuckDB

    Free, then $250/mo13 researched notes
  • JMS message broker underpinning bank and telecom estates, now maintained rather than expanded

    Pricing on request14 researched notes
  • Erlang MQTT broker whose source is Apache 2.0 but whose official binaries need a paid subscription

    Free plan13 researched notes
  • AWS-only managed key-value and document database with fixed per-partition throughput limits and no ad hoc queries.

    Free, then $0.625/million writes15 researched notes

Softwr does not host reviews and shows no star rating for Memcached, because a rating we did not collect is not ours to publish. What is here is the pricing and platform detail from the vendor’s own pages, limitations we could state concretely, and alternatives a reviewer confirmed people weigh against it. Tell us if any of it is wrong.

More on Memcached

Best Databases software alternatives

Globally distributed relational database with strong consistency and up to 99.999% availability

usage-based

Relational database for transactions, JSON and time-series data

quote

Open source distributed wide-column store modelled on Bigtable, running on Hadoop

open-source

Distributed NoSQL database for low-latency key-value, document, graph and vector workloads

freemium

Column-oriented analytical SQL database with in-database machine learning

quote

In-memory, column-oriented relational database from SAP for analytics and applications

quote

Windows desktop relational database and application builder from Microsoft

subscription

Multi-platform SQL client and database administration tool with a free open-source edition

open-source

Compare Memcached with alternatives