EventStore persistence choice

HI,

I’ve just started looking at squidex and one of the first things I noticed was that it used to use GetEventStore but now uses mongo for event persistence - can anyone speak about this decision? I am looking to use an eventstore in my own applications and am interested in the ratioinale behind this - aside from my looking to use squidex in my company so it would be good if there was only 1 type of event persistence.

Hi,

Squidex has started with MongoDB and I integrated GetEventStore to see if the abstraction for my IEventStore interface works. But nobody is really using it. So you are free to enable it but it does no go through the same level of testing as the MongoDB integration.

AH gotcha - so you haven’t dropped GES - I’ll take a look :slight_smile:

You are right, I have removed it from the setup: https://github.com/Squidex/squidex/blob/211bb7f64a938464b307a4d4847a90cf29e2f5a7/backend/src/Squidex/Config/Domain/EventSourcingServices.cs

Perhaps you can provide a PR to bring the old code back?

I can definitely take a look! Where is the code for that please?

Hi, I have checked the history and created a WIP PR for you :https://github.com/Squidex/squidex/pull/780

There are some open tasks pending. If you would like to contribute, it would be great. Perhaps I find the time soon to implement them. Like an exercise.

I have finalized the PR and merged it.