What is the primary architectural benefit of placing a message queue between two services?
- aEach message is processed faster than it would be with a direct HTTP call
- bThe producer keeps working even when the consumer is slow or temporarily down✓
- cThe consumer no longer needs error handling, because the queue retries for it
- dThe two services can safely read and write the same database tables
Explanation:A queue decouples the producer from the consumer's availability and speed: the producer enqueues and moves on, and the backlog is processed when the consumer catches up. Per-message latency usually increases rather than decreases (a), and retries help with transient failures but do not remove the need for error handling (c).