ElastiCache este serviciul AWS de caching în memorie administrat — rulând Redis sau Memcached pentru a stoca în cache datele accesate frecvent pentru recuperare rapidă. Combinat cu alte straturi de caching (CloudFront, DAX), caching-ul este o tehnică cheie pentru îmbunătățirea performanței aplicațiilor AWS și reducerea încărcării bazei de date.
ElastiCache — caching în memorie administrat
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
