Replies: 1 comment
-
|
Actually I have some close contact with developers who are huge fans of event sourcing , so yes that would be something that I would like to do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
SharpCoreDB is already a great fit for modern .NET apps (relational + vectors + graph work in progress). One big missing piece that would make it a truly multi‑model engine is native support for event sourcing.
Right now, you can of course implement event sourcing “on top” using a normal table, but having first‑class support in the engine would simplify patterns, improve performance, and make SharpCoreDB a very compelling alternative to dedicated event stores in local / embedded scenarios.
What I’m thinking of
I’m not suggesting a full-blown framework (aggregates, CQRS, etc.), just solid low-level primitives:
Append‑only Event Store
StreamId(string / GUID)Sequence(long, per stream)EventType(string)Payload(JSON/BLOB)Metadata(JSON/BLOB)TimestampAPPEND EVENTfor one or many eventsREAD EVENTS FROM streamId [FROM sequence] [TO sequence]Lightweight Snapshots
StreamId,Version,SnapshotData,CreatedAtProjection‑friendly features
Why this fits SharpCoreDB well
That would make SharpCoreDB an amazing “all‑in‑one” local engine for .NET apps that use CQRS/ES + RAG + graph, without needing multiple external services.
Beta Was this translation helpful? Give feedback.
All reactions