Bird
0
0

You notice your microservices system has high latency due to many small synchronous calls between services. Which change would best fix this chatty service anti-pattern?

medium📝 Analysis Q14 of 15
Microservices - Advanced Patterns
You notice your microservices system has high latency due to many small synchronous calls between services. Which change would best fix this chatty service anti-pattern?
AUse asynchronous messaging or batch requests to reduce calls.
BCombine tightly coupled services into a single service.
CAdd more synchronous calls to improve data freshness.
DIncrease the number of service instances to handle load.
Step-by-Step Solution
Solution:
  1. Step 1: Identify chatty service problem

    Many small synchronous calls cause latency and network overhead.
  2. Step 2: Choose solution to reduce call frequency

    Using asynchronous messaging or batching reduces calls and latency.
  3. Final Answer:

    Use asynchronous messaging or batch requests to reduce calls. -> Option A
  4. Quick Check:

    Reduce calls with async or batching [OK]
Quick Trick: Reduce calls by batching or async messaging [OK]
Common Mistakes:
  • Combining services creates distributed monolith
  • Adding more sync calls worsens latency
  • Scaling instances doesn't reduce call count

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes