Hacker ApprovedDepartments

Memcached

Hacker Approved

Ranked 3 of 6 in-memory data stores by recommenders

Simple, fast, mature in-memory cache that people trust to do one job well. Caveat: slab configuration and memory use can cause operational trouble.

Simple, fast, mature in-memory cache that people trust to do one job well. Caveat: slab configuration and memory use can cause operational trouble.

37 people gave an opinion

recommend it
27
criticize it
10
approval share
73%
Each figure is one person. RecommendsCriticizes

Recommended in 6 of 13 months

  1. November 2025: recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 27 people recommend itNeeds 10 or more, met.
  • 2.7 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 6 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Simple and works out of the box

    “It's cheap, reliable, mature, fast, scalable, requires little understanding, has decent quality clients in most languages”

    Comment from 5 Feb 2026 in “It's 2026, Just Use Postgres”

    “Memcached by contrast is very simple, fast and works without needing to do much fiddling with it.”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “Memcached probably works better out of the box.”

    Comment from 23 Jun 2026 in “In Praise of Memcached”
  • Does one job well

    “all operations are O(1) by design, which is a conscious design choice from the authors”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “memcached has always been the pinnacle of "choose boring technology"”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “it's highly optimized to do its one job super well”

    Comment from 23 Jun 2026 in “In Praise of Memcached”
  • Fast and scales per node

    “It's cheap, reliable, mature, fast, scalable, requires little understanding, has decent quality clients in most languages”

    Comment from 5 Feb 2026 in “It's 2026, Just Use Postgres”

    “Redis, memcached etc all can do 100k or more gets per second”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “memcached is multithreaded, so it scales up better per node.”

    Comment from 5 Feb 2026 in “It's 2026, Just Use Postgres”
  • Operationally straightforward pure cache

    “memcached’s architecture in general more leans towards these directions, which makes it much, much more straightforward from an operations point of view”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “optional stateless pure cache with absolutely zero rope to hang yourself on”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “I'd use memcached or some equivalent for strictly cacheing”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

What people warn about

Each mark is one comment

  • Client libraries and sharding burden

    “With memcached I remember having to mess around the LD_LIBRARY path”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “each client did it's own hashing/sharding system”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “memcached libary was unmaintained”

    Comment from 6 Mar 2026 in “Good software knows when to stop”
  • Slab configuration and starvation problems

    “Memcache is great until you get into the business of having to configure slabs.”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “The memcache slab pools are a leaky abstraction that you may end up having to manage operationally”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “Google "memcache slab starvation" if you want the long story”

    Comment from 23 Jun 2026 in “In Praise of Memcached”
  • Crashes and failures under load

    “it would have low cpu utilization then unexpectedly hit lock contention and fall over without warning”

    Comment from 23 Jun 2026 in “In Praise of Memcached”

    “Literally every one of these has caused hilarious and disastrous failures for me in my career.”

    Comment from 13 Aug 2026 in “Choose Boring Technology (2015)”

    “fixing memory-leak-caused kube memcached crashes is steeper”

    Comment from 16 Jun 2026 in “What job interviews taught me about Kubernetes”

Other in-memory data stores people recommend

The four most recommended other in-memory data stores, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Memcached compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Redis17410263%1210 yrs7 owners—
Valkey31586%10—Approved
MemcachedThis page271073%6—Approved
Lux Redis-compatible server8753%2——
KiviDB7278%1——
See all 6 in-memory data stores, ranked

What people said

35 of the 39 comments that mention it, newest first. Each links to the original comment.

“it is also a replacement to memcache which kividb isn't yet”

MixedComment from 19 Oct 2026 in “Show HN: KiviDB, a faster Redis-compatible memory database and vector cache”

“I've gotten a ton of use out of memcached over the years”

RecommendsComment from 26 Aug 2026 in “Tailcat – Like netcat, but over Tailscale’s data plane”

“Literally every one of these has caused hilarious and disastrous failures for me in my career.”

CriticizesComment from 13 Aug 2026 in “Choose Boring Technology (2015)”

“It sped up pages, and just worked.”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“There's nothing about memcache that avoids these problems.”

CriticizesComment from 23 Jun 2026 in “In Praise of Memcached”

“each client did it's own hashing/sharding system”

CriticizesComment from 23 Jun 2026 in “In Praise of Memcached”

“We pulled the cache layer into memcached.”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“Burning memory for a pure memory/RAM service like memcached in today's environment is not going to work given the price of memory”

CriticizesComment from 23 Jun 2026 in “In Praise of Memcached”

“Redis, memcached etc all can do 100k or more gets per second”

MixedComment from 23 Jun 2026 in “In Praise of Memcached”

“Memcached by contrast is very simple, fast and works without needing to do much fiddling with it.”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“Google "memcache slab starvation" if you want the long story”

MixedComment from 23 Jun 2026 in “In Praise of Memcached”

“memcached has always been the pinnacle of "choose boring technology"”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“it's highly optimized to do its one job super well”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“Memcache is great until you get into the business of having to configure slabs.”

MixedComment from 23 Jun 2026 in “In Praise of Memcached”

“I'd use memcached or some equivalent for strictly cacheing”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“all operations are O(1) by design, which is a conscious design choice from the authors”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“I like memcached, but its really not redis's fault if you set it up as a volatile cache”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“I don't think memcached is bad, I just think its old”

MixedComment from 23 Jun 2026 in “In Praise of Memcached”

“optional stateless pure cache with absolutely zero rope to hang yourself on”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“With memcached I remember having to mess around the LD_LIBRARY path”

CriticizesComment from 23 Jun 2026 in “In Praise of Memcached”

“It can be difficult to architect an app to have a memcache-friendly cache layout.”

CriticizesComment from 23 Jun 2026 in “In Praise of Memcached”

“Never felt the need to go back to memcached except when a legacy dependency needed it.”

CriticizesComment from 23 Jun 2026 in “In Praise of Memcached”

“The memcache slab pools are a leaky abstraction that you may end up having to manage operationally”

CriticizesComment from 23 Jun 2026 in “In Praise of Memcached”

“Memcached probably works better out of the box.”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“it would have low cpu utilization then unexpectedly hit lock contention and fall over without warning”

CriticizesComment from 23 Jun 2026 in “In Praise of Memcached”

“memcached’s architecture in general more leans towards these directions, which makes it much, much more straightforward from an operations point of view”

RecommendsComment from 23 Jun 2026 in “In Praise of Memcached”

“fixing memory-leak-caused kube memcached crashes is steeper”

CriticizesComment from 16 Jun 2026 in “What job interviews taught me about Kubernetes”

“Use apc or memcached for persistent storage.”

RecommendsComment from 24 May 2026 in “PHP's Oddities”

“A 30 second memcached/redis/etc goes a long way when sharing on HN.”

RecommendsComment from 4 May 2026 in “I tracked 7,700 UK petrol stations every 10 minutes for 3 months”

“memcached libary was unmaintained”

CriticizesComment from 6 Mar 2026 in “Good software knows when to stop”

“memcached is multithreaded, so it scales up better per node.”

RecommendsComment from 5 Feb 2026 in “It's 2026, Just Use Postgres”

“It's cheap, reliable, mature, fast, scalable, requires little understanding, has decent quality clients in most languages”

RecommendsComment from 5 Feb 2026 in “It's 2026, Just Use Postgres”

“memcached would probably increase that by several orders of magnitude”

RecommendsComment from 4 Feb 2026 in “Show HN: Safe-now.live – Ultra-light emergency info site (<10KB)”

“setting up nginx, memcached, LAMP stacks”

MixedComment from 10 Nov 2025 in “How AWS is losing the younger generation with complexity”

“far simpler solution that provides 99% of what you need in practice”

RecommendsComment from 6 Nov 2025 in “What the hell have you built”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.