ElastiCache 是 AWS 的托管内存缓存服务——运行 Redis 或 Memcached 来缓存频繁访问的数据以实现快速检索。结合其他缓存层(CloudFront、DAX),缓存是改进 AWS 应用程序性能和减少数据库负载的关键技术。
ElastiCache — 托管内存缓存
ElastiCache runs managed REDIS or MEMCACHED clusters:
→ store frequently-accessed data in memory → sub-millisecond retrieval (very fast)
→ REDUCE LOAD on databases (serve from cache instead of querying the DB)
→ AWS manages it (setup, patching, scaling, failover) — no servers to run
Redis → rich data structures, persistence, replication, HA (Multi-AZ) — the common choice
Memcached → simpler, multi-threaded, pure caching
