Event Sourcing and CQRS Explained | When should you use them?

Marco Lenzo
Marco Lenzo
5 هزار بار بازدید - 10 ماه پیش - Event Sourcing and CQRS are
Event Sourcing and CQRS are possibly the most fascinating architectural patterns in the software world, especially when combined with an event-driven architecture (EDA). In contrast to traditional applications that store exclusively the current state of the system while losing the history of all operations and changes applied to it, event sourcing dictates that all state changes have to be represented as events and persisted an append-event only log. The state of the system is sourced from such events through a process called hydration. Auditing and the ability of replay the history of events to hydrate new versions of our model are some of the incredible benefits this patterns give us. However, the challenges are equivalently important. In this video, we will try to reach a conclusion and establish whether we should these patterns use in our system. A lot of inspiration has been taken by articles and presentations by Greg Young and Martin Fowler. 🤓 There's more on my website! (articles, scripts, code snippets, etc...): 🤓 https://marcolenzo.eu/ 🤝 Connect with me: 🤝 https://www.linkedin.com/in/marcolenzo/ 👌Get a CodeCrafter Discount 👌 https://app.codecrafters.io/join?via=marcolenzo 🍕 I've got an Italian accent 😅 If you have trouble understanding me, activate the closed captions! They are manually corrected. https://www.seevid.ir/fa/w/p0wimdpCNGk Event Sourcing https://www.seevid.ir/fa/w/p0wimdpCNGk CQRS https://www.seevid.ir/fa/w/p0wimdpCNGk Benefits https://www.seevid.ir/fa/w/p0wimdpCNGk Drawbacks https://www.seevid.ir/fa/w/p0wimdpCNGk Conclusion Other interesting videos related to Event Driven Architectures: https://www.seevid.ir/fa/w/EkGw0qgZ5yA https://www.seevid.ir/fa/w/1pl0w5ZNmlk #eventdrivenarchitecture #cqrs #microservices #softwarearchitecture
10 ماه پیش در تاریخ 1402/09/10 منتشر شده است.
5,080 بـار بازدید شده
... بیشتر