I'm looking for an EventStore for an EvenSourcing and CQRS system that i'm considering to develop in the neares future. I've startet to get familiar with CockroachDB and impressed by scalability, while having all that guaranties, that are nice for Event Store and queries on it.
I'm thinking here about, i guess one(?) table for events. Something looking similar to this:
Columns in the Table
- AggregateId [Guid]
- Data [Blob]
- SequenceNumber [Long]
- Version [Int]
So i have two questions:
- Is CockroachDB a good choice as EventStore at all?
- Will it match my performance and scale expentations in this scenario. E.g would it scale as expected on increasing data over time and more read an write traffic/operations?