8. Beyond Request-Response
Conversation from The Software Realm, Decoded
Chapter 8 · Beyond Request-Response · p. 181
Senior developer
The email takes 2 seconds because it calls an external SMTP server. Does the user really need to wait for it?
Peter
No... the email can arrive a few seconds or even minutes later. But how do I send it without waiting?
Senior developer
This is where asynchronous systems come in. Instead of doing the work yourself, you announce ’Order Placed’ to a message broker. Other services listen for that announcement and handle their tasks in the background.