QuestionQ410

Application Deployment and Security

A DevOps engineer must design an application that sends emails in response to incoming webhooks. No more than 10,000 outgoing emails may be sent each hour. How can the engineer ensure that every webhook transaction is processed within the email constraints?

  • A APIs for internal and external communication
  • B rate limit incoming webhooks and pagination
  • C message queues and rate limiting
  • D send emails in batches and on a cadence
Explanation

A message queue durably buffers webhook transactions and separates webhook ingestion from email delivery. Rate limiting the email-processing consumers enforces the maximum of 10,000 outgoing emails per hour while allowing excess transactions to remain queued until they can be processed.

Community Discussion

No comments yet. Be the first to start the discussion!