HNHacker News
TopNewBestAskShowJobs

oskar_dudycz

163 karma · joined January 13, 2021

submissionscomments
oskar_dudycz··on Event Sourcing Is Hard (2019)
As this article pops out again, I'd like to the point that although it may have some valid points, those points are not about Event Sourcing. What's expressed in the article is the Event Streaming or Event-Driven approach. So when events are not the source of truth etc. All of the event stores that I know supports strong consistency on appends, optimistic concurrency. Many guarantee global ordering. Some help in idempotency. All of that helps to reduce those issues. In Event Sourcing, events are the state. So the flow looks like that:

1. You get the events from the stream (that represents all the facts that happened for the entity),

2. You apply it one by one in the order of appearance to build the current state,

3. You run the business logic and, as a result, create the event,

4. You append a new event.

You don't need to cache the write model state anywhere, as the state is in events. Event Sourcing has its issues and troubles, but the stuff described in the article apply to tools like Kafka, etc. They're not tools for Event Sourcing but Event Streaming. They're designed to move things from one place to another, not to be used as durable databases.

I've made a list of articles like that: https://github.com/oskardudycz/EventSourcing.NetCore#this-is...

I'll repeat it again: this is not Event Sourcing.

oskar_dudycz··on [dead]
This week, I'm continuing the Docker topic. Last time I explained how to build an optimal image for your application. Today I wrote how to publish it to the DockerHub and Github Container Registry using Github Actions.
oskar_dudycz··on [dead]
If you're going from C# or Java to the TypeScript, it's worth checking the differences without assuming straight that's the same type of language. #TypeScript has structural typing, which might not be the typing you're looking for.
oskar_dudycz··on [dead]
Today I want to invert the classical pro-agile drawing. Let’s talk about the devaluation of functionality that occurs in Agile projects and the cases when Agile is not enough.
← PreviousPage 2 of 2