jezzsantos / saastack

A comprehensive codebase template for starting your real-world, fully featured SaaS web products. On the .NET platform
The Unlicense
45 stars 13 forks source link

EventStore adapter #55

Open jezzsantos opened 4 days ago

jezzsantos commented 4 days ago

We need an IEventStore adapter to https://www.EventStore.com.

In production workloads, without this adapter, the default store for events could be SqlServerStore. The problem with that is that there is a 1000 record limit in the SqlServerStore that will only query 1000 events for any aggregate. For 85% of all aggregates this is not an issue, however for those aggregates that have high volatility, it isa feasible that this limit will be reached, and the aggregate will not be correctly built, and the runtime will start to throw 500s.

To build this adapter, please follow the guidance in Building 3rd Party Adapters