Event-Driven Application

The API stores a message and answers immediately; workers process the queue in the background. A dead letter queue catches poison messages.

Loading the Design Lab…

Try this

  • · Raise traffic above what the workers can do and watch the backlog grow while the API stays fast.
  • · Set a worker failure rate to 100% and watch messages move to the dead letter queue.

Components

  • · Clients (Client)
  • · API (Application Server)
  • · Queue (Message Queue)
  • · Worker 1 (Worker)
  • · Worker 2 (Worker)
  • · Worker 3 (Worker)
  • · Dead letters (Dead Letter Queue)