Choosing Memcached Slab Growth Factor for Efficient Memory Use
Learn how to pick the Memcached slab growth factor (-I) to match your object sizes, reduce memory waste, and avoid unnecessary evictions.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to pick the Memcached slab growth factor (-I) to match your object sizes, reduce memory waste, and avoid unnecessary evictions.
Learn how Memcached clients using consistent hashing limit key movement during cluster scaling, reducing cache miss storms and keeping traffic stable.
Learn how to enable Memcached’s binary protocol and client‑side connection pooling to cut latency and boost throughput in high‑traffic web apps.
Learn how Memcached's consistent hashing prevents database thundering herds during cluster scaling by minimizing key remapping and using virtual nodes for load balance.
Avoid cache stampedes when scaling Memcached. This guide compares modulo sharding vs. consistent hashing (Ketama/HRW) to minimize key redistribution during cluster changes.
Learn how Memcached’s slab allocator can cause evictions even when total memory appears free, and how to diagnose and mitigate the issue.
Memcached timeouts almost always trace to four causes: a dead daemon, exhausted memory, a blocked port, or a saturated connection limit. Here's the five-minute diagnostic sequence and the fix for each.
A diagnostic guide to memcached LRU eviction problems: how to confirm the condition with stats counters, isolate capacity, TTL, item-size, and slab causes, and apply the right fix.
Learn how Memcached’s compare‑and‑swap (CAS) operation enables safe concurrent updates, with a worked telnet example, limits, and practical verification steps.