ADVSUS04-BP02 Use serverless transaction processing
Implement serverless transaction processing, such as for ad measurement, to reduce the required unit of work and associated resource consumption for your advertising workloads. Proxy metrics, as defined in the Well-Architected Framework Sustainability Pillar, can be used to measure improvements from serverless use. For instance, instead of having long-running vCPU usage and partially-used volumes in a number of workload instances, use a serverless approach, so compute usage only occurs at the time of a transaction.
Implementation guidance
-
For ad measurement workloads, use serverless architectures to minimize the required infrastructure and resources per unit of work.
-
Implement services like Amazon API Gateway
, AWS Glue , AWS Lambda , Amazon Kinesis Data Streams , and Amazon EMR Serverless to build event-driven, scalable, and efficient ad measurement pipelines. -
These services automatically scale up or down based on demand, improving resource utilization and reducing waste.
-
Serverless architectures can help minimize idle resources, further contributing to sustainability goals.
Key AWS services
-
AWS Graviton processors
(for energy-efficient compute instances, if using EC2 instances) -
AWS Compute Optimizer
(for optimizing resource utilization, if using EC2 instances) -
Proxy Metrics (AWS Sustainability Pillar)