ElastiCache AWS ਦੀ ਪ੍ਰਬੰਧਿਤ in-memory caching ਸੇਵਾ ਹੈ — Redis ਜਾਂ Memcached ਨੂੰ ਚਲਾਉਂਦੇ ਹੋਏ ਬਾਰ-ਬਾਰ ਐਕਸੈਸ ਕੀਤੇ ਜਾਣ ਵਾਲੇ ਡੇਟਾ ਨੂੰ ਤੇਜ਼ ਪ੍ਰਾਪਤੀ ਲਈ cache ਕਰਦੇ ਹੋਏ। ਹੋਰ caching ਪਰਤਾਂ (CloudFront, DAX) ਦੇ ਨਾਲ ਮਿਲ ਕੇ, caching AWS ਐਪਲੀਕੇਸ਼ਨ ਪ੍ਰਦਰਸ਼ਨ ਨੂੰ ਬਿਹਤਰ ਬਣਾਉਣ ਅਤੇ ਡੇਟਾਬੇਸ ਲੋਡ ਨੂੰ ਘਟਾਉਣ ਲਈ ਇੱਕ ਮੁੱਖ ਤਕਨੀਕ ਹੈ।
ElastiCache — ਪ੍ਰਬੰਧਿਤ in-memory caching
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
