ADVREL02-BP02 Implement a caching strategy
Implementing caching strategies enhances system reliability and performance. Evaluate different caching levels from client-side to server-side, and explore various caching solutions, including ElastiCache, third-party databases, and CDNs for optimizing ad payload delivery and reducing backend load.
Implementation guidance
Caching can be applied at various levels, such as client-side caching of user-profiles and server-side caching for bid enhancement. Distributed caching solutions include Amazon ElastiCache Redis or Memcached. Third-party databases such as Aerospike, Cassandra, and Scylla Cache are also commonly deployed for server-side caching. Ad Creative payloads are very effectively cached by CDNs, such as CloudFront, further reducing the load on web-servers.
Key AWS services
-
Amazon ElastiCache
is a fully managed in-memory data store -
Amazon API Gateway
also provides a built-in caching layer -
AWS Lambda
, a serverless compute service, can be used to implement caching at the application layer
Resources
Related documentation: