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
