A company has a stateful web application that requires session persistence. The application is deployed on EC2 instances behind an Application Load Balancer. The company wants to improve performance by caching frequently accessed data. Which solution is MOST cost-effective?
ElastiCache improves performance by caching data and is cost-effective.
Why this answer
ElastiCache with Memcached is a cost-effective in-memory caching solution that can improve performance by caching frequently accessed data. It supports session storage. ELB sticky sessions (Session Affinity) ensure requests from the same user go to the same instance, but do not cache data.
Increasing instance size improves performance but at a higher cost. CloudFront caches content at the edge, not application data.