Skip to content

Added event store session to SQLite event store - #313

Merged
oskardudycz merged 2 commits into
mainfrom
sqlite_session_storage_handling
Mar 2, 2026
Merged

Added event store session to SQLite event store#313
oskardudycz merged 2 commits into
mainfrom
sqlite_session_storage_handling

Conversation

@oskardudycz

@oskardudycz oskardudycz commented Mar 2, 2026

Copy link
Copy Markdown
Collaborator

That ensures the connection is reused during command handling and that operations are serialised, preventing concurrency issues.

Added execution guards to make execution handling easier based on the task processor.

@SamHatoum @davecosec @LuccaHellriegel FYI

That ensures that connection is reused during command handling and that operations are serialized not causing concurrency issues.
@oskardudycz oskardudycz added this to the 0.43.0 milestone Mar 2, 2026
@oskardudycz
oskardudycz force-pushed the sqlite_session_storage_handling branch from 3fe6ddf to c3d6c70 Compare March 2, 2026 13:11
@oskardudycz
oskardudycz merged commit 57f09e0 into main Mar 2, 2026
6 checks passed
@oskardudycz
oskardudycz deleted the sqlite_session_storage_handling branch March 2, 2026 13:24
@oskardudycz

Copy link
Copy Markdown
Collaborator Author

Benchmark results on my local (not so fast) box:

Reading events                                      5,826 ops/sec
Aggregating stream                                  7,702 ops/sec
Appending events                                    1,486 ops/sec
Command handling                                      447 ops/sec
1000 sequential appends                             1,132 ops/sec
1000 sequential command handling                      198 ops/sec
1000 concurrent appends to unique streams           5,678 ops/sec
1000 concurrent command handling on unique streams  2,376 ops/sec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant