4 ms·
IIUC, That’s a micro service way, missing cancellations and rollback and timeouts What happens if the chef can’t fulfill the meal, the customer leaves cause th
by zaphirplane 3y ago
IIUC, That’s a micro service way, missing cancellations and rollback and timeouts
What happens if the chef can’t fulfill the meal, the customer leaves cause the order is taking long … etc
Most real life will not charge the customer is the chef can’t make the meal and cancel the cooking if the customer leaves
The analogy maybe going far ;)
- rawgabbit 3y agoTrue. If the customer leaves in mid process, we would have to issue a reversal transaction. Eat the financial loss, dispose of the food, and void the order the ticket.
- anticensor 3y agoOr do it like a fast food restaurant: take the order, take the money, finalise the transaction but not commit (irreversible from that point on) then cook the food then commit: if the customer leaves before taking the meal, serve it to the next customer ordering the same meal.