ElastiCache je AWS-ov upravljani in-memory cache servis — pokreće Redis ili Memcached za cache-iranje često pristupanih podataka kako bi se omogućio brz pristup. Kombiniran s ostalim slojevima cache-iranja (CloudFront, DAX), cache-iranje je ključna tehnka za poboljšanje performansi AWS aplikacija i smanjenje opterećenja baze podataka.
ElastiCache — upravljano in-memory cache-iranje
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
