All the other companies would benefit from the same patterns, but don’t have enough scale to make it efficient.
👉 Money is always a scarce resource 👈
Running a cluster of 3 servers just to store a few million messages in a RabbitMQ queue or Kafka topic is simply too expensive.
In this series of articles, we’re going to discover a data model that lets us store and consume events in a reliable way, offering the possibility for concurrent producers/consumers to work together without race-condition each other.
👉 The entire source code, complete with tests and performance analysis is available at: https://github.com/marcopeg/postgres-event-sourcing.