News for hackers. Stuff that matters.
Re:Event Sourcing (2017) by bsaul on Thursday January 02, 2020 @04:44AM (#21934047)
I don’t get it : in the microservice approach, you can have services communicating with each others using event sourcing, but why forcing every service to work with event sourcing internaly ? Any requring transactionnal behavior, or at least transactionnal functions, could rely on a relationnal database to ensure atomicity.

The purpose of microservices seems to me to be able to have different internal architectures for each service. So why getting back a shoving a single one everywhere ?

Re:Event Sourcing (2017) by Autowired on Thursday January 02, 2020 @05:15AM (#21934166)
I agree with you, maybe except about the atomicity part. When you use event sourcing, your source of truth becomes the event log, so transactioning against your local representation of the state does not give you the same guarantees.