Outbox before dual writes
If a write has to land in two places, put it in one place and let a reader fan it out.
- A service must update its database and publish an event, and sometimes only one happens.
- Any service with a transactional store and a message broker. Especially Kafka.