Skip to content

Examples

Worked implementations of the architecture. Each builds capabilities as Request Processing Units and protects them with Command Context Consistency.

Booking a Stay

A guest reserves nights at a listing. Command Context Consistency on a relational database, with shared locks and a unique constraint on the booked nights. The same domain in two languages:

Tool Rental

Tool registration, checkout, and return. Command Context Consistency on an event store, with a conditional append against the queried context.