Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fighting Bottlenecks with CQRS

Fighting Bottlenecks with CQRS

More at http://verraes.net/ or http://twitter.com/mathiasverraes

How can you sell a gazillion tickets in an hour? This talk will explain how to use CQRS, Event Sourcing, and a strong focus on the problem domain to build a system that deals with peaks, reporting, and occasionally connected devices.

ResearchGate DevDay
Berlin, November 30, 2013

Mathias Verraes

November 30, 2013
Tweet

More Decks by Mathias Verraes

Other Decks in Technology

Transcript

  1. Ticket state = Ticket history ! TicketWasSold [ toUser ]

    TicketWasReserved [ forUser, onDate ] ReservationWasReleased [ ] TicketWasReserved [ forUser, onDate ] TicketWasPrinted [ inPresale ]
  2. Mature domains already work this way ! AccountWasDebited [ 20

    ] AccountWasDebited [ 10 ] AccountWasCredited [ 100 ] AccountWasOpened
  3. More? ! Testing Context Mapping Event Storming Process Managers Occasionally

    Connected Systems Reporting Legacy Integrations …