Performance: Why messaging matters
HIGH IMPACT
Messaging affects how quickly and smoothly data moves between services, impacting response time and system scalability.
Asynchronous messaging with message brokers like RabbitMQ or Kafka
Synchronous REST calls between services for every request| Pattern | Thread Blocking | Latency Impact | Scalability | Verdict |
|---|---|---|---|---|
| Synchronous REST calls | High (blocks threads) | High (waits for response) | Low (limited by blocking) | [X] Bad |
| Asynchronous messaging | Low (non-blocking) | Low (decoupled) | High (scales well) | [OK] Good |