Interview practice question
Should sending a welcome email be a direct call?
Backend Engineering · Microservices · Beginner
When a user signs up, the user service calls the email service synchronously to send a welcome email, and sign-ups fail when email is down. What would you change?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Email is a side effect, not needed for response.
- Publish UserRegistered event.
- Email service consumes asynchronously.
- Sign-up succeeds even if email down.
- Retries handled by queue.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.