Interview practice question
Shared library forces lockstep upgrades
Backend Engineering · Microservices · Experienced
A "common" library containing domain models is used by 30 services, and every change forces coordinated upgrades. How would you untangle this?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Domain models shouldn't be shared.
- Each service owns its model; share contracts (schemas) instead.
- Keep infra-only shared libs.
- Version and support older versions.
- Migrate gradually.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.