ElastiCache è il servizio di caching in-memory gestito di AWS — esegue Redis o Memcached per mettere in cache i dati ad accesso frequente per un recupero rapido. Combinato con altri strati di caching (CloudFront, DAX), il caching è una tecnica chiave per migliorare le prestazioni delle applicazioni AWS e ridurre il carico del database.
ElastiCache — caching in-memory gestito
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
