Ask HN: Why don't more developers use event sourcing?
I have found event sourcing (https://martinfowler.com/eaaDev/EventSourcing.html) to be extremely powerful when building applications, however in my experience CRUD seems to be much more prevalent.
Why do you think event sourcing isn't as common?
12 comments
[ 3.6 ms ] story [ 37.2 ms ] threadI've always wanted to build a small tool on top of event sourcing, but as long as the app is small it should probably be ok. But if it scales up, there's lots of room for massive errors.
(Sorry I can't find the link)
I personally enjoy working in an event sourced codebase, but it's most interesting when it is greenfield development. Growing and maintaining such a code base can turn into a headache.
I think I need some more braincells to understand Event Sourcing.
Are you asking about building aggregates in CQRS? Or is this specific to event sourcing?
Were your concerns were with modeling your domain more so than the infrastructure powering the "event sourcing"?
what you essentially end up writing is some poor version of something that mimics database replication. This is an extremely hard problem to solve. I would not recommend it unless you have someone leading the team with years of experience writing such a system.