Multiple ChoiceIntermediate 45s
Outbox relay ordering
In the outbox pattern, why must the relay publish outbox rows in insertion order per aggregate?
Options
- 1To reduce storage by deleting outbox rows as soon as they are inserted into the outbox table
- 2Because the database requires the rows to be inserted in order to keep its index consistent
- 3Otherwise consumers can observe event 2 before event 1 for the same entity, producing an inconsistent projection
- 4To enable encryption of each outbox row with a key derived from the aggregate's identifier
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.