NestJS · Senior · Question 16 of 75
Why can request-response (client.send) between microservices be risky at scale?
- ✓Correct answer: It couples services in time: the caller waits, failures and latency cascade, and you need timeouts and retries
- 2It can't carry JSON
- 3It's slower than events in every case
Explanation
Prefer events for notifications and keep synchronous calls for queries that truly need an immediate answer. Always set timeout() on the Observable.