hard20 pts · first answer countsdistributed-systemsreliability
Saving data and publishing an event
After saving an order, the API publishes an OrderCreated event to a message queue. Sometimes the server crashes between the two steps and the email service never hears about the order. What is the reliable design?