ElastiCache là dịch vụ caching in-memory được quản lý của AWS — chạy Redis hoặc Memcached để cache dữ liệu được truy cập thường xuyên cho việc truy xuất nhanh. Kết hợp với các lớp caching khác (CloudFront, DAX), caching là một kỹ thuật then chốt để cải thiện hiệu năng ứng dụng AWS và giảm tải cơ sở dữ liệu.
ElastiCache — caching in-memory được quản lý
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
