Softwr
Memcached logo

Memcached

Distributed memory object caching system

Overview

What Memcached does

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 it falls short

Concrete and checkable, so you can decide whether any of them matter to you. This is the half of a review a vendor will not write about Memcached.

  • 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 people choose instead of Memcached

Each pairing was judged by two reviewers asking whether a buyer would genuinely weigh the two against each other. The ones that failed were deleted rather than published.

  • Memcached logo
    Memcached
    vs
    Redis logo
    Redis

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

Pricing

What Memcached costs

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

Features

  • 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.

Share

Keep looking

Where to go from Memcached

Best Databases software for

Compare Memcached with

Other Databases software

  • The world's most advanced open source relational database

  • Create apps that perfectly fit your team's needs

  • MySQL and PostgreSQL-compatible relational database built for the cloud

  • The heart of the Elastic Stack for search and analytics

  • Open-source distributed event streaming platform

  • Fast open-source search engine built for typo tolerance

  • The Database for the Age of AI Agents

  • Intelligent, scalable cloud database service from Microsoft

  • Fast open-source column-oriented database for real-time analytics

  • The modern database for enterprise applications

  • Fast in-process analytical database

  • The open source relational database for the enterprise

  • Cross-platform database IDE from JetBrains for SQL and NoSQL databases

  • Sub-second analytics at cloud data warehouse scale

  • Fully managed relational database service for MySQL, PostgreSQL, and SQL Server

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

Enterprise search platform built on Apache Lucene

High-performance messaging system for cloud-native applications

Kafka-compatible streaming platform with no ZooKeeper or JVM

Open-source message broker supporting AMQP and other protocols

Open-source search and analytics suite forked from Elasticsearch

Cloud-native messaging and streaming with separated storage

Compare Memcached with alternatives