
Ultimate access to all questions.
The development team at an e-commerce company is gearing up for the forthcoming Thanksgiving sale, which is expected to generate significant traffic spikes on the website. The product manager has tasked the team with implementing a robust caching strategy using Amazon ElastiCache to ensure the website can handle the increased load. A crucial aspect of this task is to ensure that product prices and descriptions are consistently updated in the cache, maintaining synchronization with the backend database at all times.
As a Developer Associate, which solution would you recommend to address this use-case?
A
Use a caching strategy to write to the cache directly and sync the backend at a later time
B
Use a caching strategy to write to the backend first and wait for the cache to expire via TTL
C
Use a caching strategy to write to the backend first and then invalidate the cache
D
Use a caching strategy to update the cache and the backend at the same time