3min chapter

Elixir Wizards cover image

Marcelo Dominguez on Command and Query Responsibility Segregation

Elixir Wizards

CHAPTER

CQRS

If there's a legal requirement to have like an audit trail, maybe then you have to use something like CQRS or you have to process the changes somehow. One other nice benefit about it is if you have the events store, it's easy this year for you to kind of a time travel around. If that is important for your project, I will consider it having the audit and the full history. Probably for, yeah, when there is, I don't know, money involved or when you need to have like multiple users interacting with itlike performance wise. And most of the systems, the eventual consistency is right. Nobody will care if you're showing a number off for a few

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode