This website uses cookies to ensure you get the best experience.
Learn more.
A product page frequently executes the same expensive relational lookup. A few seconds of stale product-description data is acceptable. The database remains the system of record. Which design best reduces repeated database work?
Published
- Add a Multi-AZ standby and send reads to it without changing the application endpoint.
- Run the lookup more often so database pages never become cold.
- Use an ElastiCache-backed cache-aside pattern with a suitable TTL and invalidation on relevant updates.
- Use sticky ALB sessions while leaving all product lookups uncached in the same relational database.
Comments — 0
Sign in to comment