Subjects Questions Quizzes Pricing
Intermediate Open Pro

Message Queue Use Case

An e-commerce site sends a welcome email immediately after a user registers. The current implementation calls the email API synchronously inside the registration handler. The email API occasionally takes 3–5 seconds to respond, making registration feel slow.

Redesign this using a message queue. Draw the new request flow and explain the trade-offs.

← Back to System Design Basics practice