In Praise of Memcached
5 hours ago
- #caching
- #sysadmin
- #devops
- Redis is often chosen as a cache due to familiarity and features, but it's sometimes misused as a persistent database, leading to operational issues.
- Memcached is presented as a simpler caching alternative with easier handling of downtime, client-side clustering, and no persistence, making it operationally straightforward.
- The author prefers memcached over Redis for caching because it aligns better with treating caches as volatile and stateless, reducing maintenance complexity.
- It's noted that performance issues often stem from slow queries or missing indexes, suggesting query optimization as a first step before adding caching.