Elixir Mix cover image

Event Sourcing and CQRS ft. Ben Moss - EMx 148

Elixir Mix

00:00

Agrequest - How to Handle a Command in a Coat Level Environment

When you handle a command, you basically return a list of events which were produced by this command. Then y seven other functions at the bottom, which say, ok, now i take these events and apply them to my user. So if you have 100 events in there when the user hasn't signed in for like, a few days, and yoa first command for this user. Then what commander actually does, aa cost to his events tram and reads all the events in there, and then it builds up the current s of that user in memory. And on this current state, you'd adtend yo variedations. All this is happening sincronously, like nothing as

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app