Archive

Articles

3 published pieces. Newest first.

20263 articles
CQRS: when the user saves and cannot see their own data

CQRS: when the user saves and cannot see their own data

Separating reads from writes solves a pile of problems and creates a new one, which shows up on the user's screen and arrives as a support ticket.

15 min read#architecture #cqrs #consistency #postgres

Outbox and a choreographed saga: four services closing one payment

Outbox and a choreographed saga: four services closing one payment

No database transaction spans four services. What changes when the event is written in the same transaction as the state, and compensation becomes the job of whoever started the saga.

6 min read#architecture #go #kafka #postgres