Git Product home page Git Product logo

Comments (4)

kgrzybek avatar kgrzybek commented on September 7, 2024 9

In my opinion for complex-writes we can use traditional approach too. Event Sourcing is great for example when we have a lot of write operations or we want to have full history of our system. Of course it is not free, each solution has pros and cons.

In most systems you don't need ES so this why I wanted to show people how it is possible to create CQRS with DDD using traditional approach - I think it will help more people. Especially, when there are a lot of legacy systems with anemic domain models and refactor to rich domain model using traditional approach is more easier than to ES.

from sample-dotnet-core-cqrs-api.

Narvalex avatar Narvalex commented on September 7, 2024 1

Well, I think that is not that hard to do event sourcing, and the benefit of replaying all events to easily create new read models is something that you can not simply achieve with the traditional approach. Actually is a lot harder to introduce a new read model in a CQRS system when you have a lot of data already.

from sample-dotnet-core-cqrs-api.

Narvalex avatar Narvalex commented on September 7, 2024 1

Fair enough. Still, in green field projects, do not hesitate to start an event sourcing journey. I will be highly rewarded if you endure all the way to a good and fun codebase to maintain.

from sample-dotnet-core-cqrs-api.

jkosters avatar jkosters commented on September 7, 2024

@Narvalex in the real world it's not always possible to refactor existing code all the way (because of time or some other external factor). I for one am gratefull for working examples like this. It helps us make a big move forward, and gives us an option to get the whole team aboard and which isn't "do it all over again".

from sample-dotnet-core-cqrs-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.