Interview practice question
Migrating a monolith's API behind a gateway
System Design · APIs and Communication · Experienced
You want to split a monolith into services without changing the public API that thousands of clients use. How does the API layer help?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Gateway in front of monolith first.
- Route specific paths to new services.
- Strangler pattern.
- Keep contract identical; contract tests.
- Shadow traffic before switching.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.