This follow-up checks whether you understand architectural trade-offs honestly. Describe the specific anti-pattern, why it existed, the problems it caused, and what you did about it. Common microservices anti-patterns you may have encountered: 1. Shared database across services - Several services reading and writing the same tables. Causes tight coupling: a schema change in one service breaks others, and services cannot deploy independently. 2. Distributed monolith - Services that must be deployed together, because they share libraries with domain models, call each other synchronously in long chains, or depend on each other's internal behaviour. 3. Chatty synchronous communication - One user request fans out into many sequential service calls, multiplying latency and making availability depend on every service in the chain. 4. Wrong service boundaries - Services split by technical layer (a "data service", a "validation service") instead of business capability, so every feature touches many services. 5. Shared mutable state or distributed transactions everywhere - Attempts at two-phase commit across services, or services updating each other's data directly. 6. Too many tiny services (nanoservices) - Operational overhead outweighs benefits. Example answer (adapt to your real situation) "Our anti-pattern was a shared SQL database. The system started as a monolith, and when we split it into five services, we kept one database to deliver quickly. Over time this caused problems: a column rename in the Orders tables broke the Reporting service in production, and a heavy reporting query slowed down order placement. Deployments needed coordination between teams. To reduce the impact, we gave each service its own schema and database user with permissions limited to its own tables, made other services read data through APIs or read-only views, and introduced an outbox with events so services could keep their own copies of the data they needed. We then moved the Notifications service to its own database first, since it had the fewest dependencies, and planned to move Reporting to a separate read store fed by events." What interviewers value: recognising the problem, explaining the pragmatic reasons it happened, describing concrete mitigations, and showing a path towards improvement rather than blaming others.
Ravindra Wadile · · 0 likes