Bird
0
0

A company has a microservices system suffering from both distributed monolith and chatty services anti-patterns. Which combined approach best improves scalability and deployment independence?

hard📝 Trade-off Q15 of 15
Microservices - Advanced Patterns
A company has a microservices system suffering from both distributed monolith and chatty services anti-patterns. Which combined approach best improves scalability and deployment independence?
AMerge all services into one large application to simplify deployment.
BIncrease hardware resources and add load balancers to handle traffic.
CUse synchronous REST calls extensively to keep services tightly connected.
DRefactor services to reduce dependencies and use asynchronous communication.
Step-by-Step Solution
Solution:
  1. Step 1: Address distributed monolith by reducing dependencies

    Refactoring services to be loosely coupled allows independent deployment and scaling.
  2. Step 2: Fix chatty services by adopting asynchronous communication

    Using async messaging reduces frequent synchronous calls and network overhead.
  3. Step 3: Combine both improvements for better scalability and independence

    This combined approach solves both anti-patterns effectively.
  4. Final Answer:

    Refactor services to reduce dependencies and use asynchronous communication. -> Option D
  5. Quick Check:

    Loose coupling + async = scalable microservices [OK]
Quick Trick: Loose coupling + async communication fixes both issues [OK]
Common Mistakes:
  • Merging services worsens distributed monolith
  • Adding hardware doesn't fix design flaws
  • Using more sync calls increases chatty problems

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes