ElastiCache เป็นบริการ in-memory caching แบบ managed ของ AWS ที่รัน Redis หรือ Memcached เพื่อแคชข้อมูลที่เข้าถึงบ่อยสำหรับการดึงข้อมูลที่รวดเร็ว เมื่อผสานกับชั้น caching อื่น ๆ (CloudFront, DAX) การแคชเป็นเทคนิคสำคัญในการปรับปรุงประสิทธิภาพแอปพลิเคชัน AWS และลดโหลดของฐานข้อมูล
ElastiCache — in-memory caching แบบ managed
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
