Search for the Right Document
< All Topics
Print

Scheduled Jobs Architecture Diagram Example

This example highlights a scheduled and asynchronous jobs pattern to optimize resource utilization, reduce idle capacity, and support sustainability objectives. By scheduling jobs to run only when needed and decoupling components using an event-driven queue, you can reduce unnecessary resource consumption and lower your carbon footprint.

The architecture includes:

  • Scheduled Event Source: A cloud scheduling service (e.g., Amazon EventBridge) triggers jobs at specific intervals.
  • Queue or Topic: A message queue (e.g., Amazon SQS) or topic (e.g., Amazon SNS) receives tasks from the scheduled event, preventing resource bottlenecks.
  • Worker or Serverless Consumers: Lambda functions or containerized tasks automatically scale based on queue depth, ensuring efficient resource use.
  • Data Storage: A lightweight, managed data store (e.g., Amazon DynamoDB) or object storage (e.g., Amazon S3) holds processed results.
  • Monitoring and Logging: Cloud-native logging and metrics (e.g., Amazon CloudWatch) provide insight into performance and resource usage.

This design helps maintain a smaller operational footprint by running compute resources only when jobs are in queue, ultimately supporting sustainability goals through efficient use of computing resources.

Table of Contents