Snapshot support for CommandBus deciders #17

Closed
opened 2026-02-19 21:28:52 +00:00 by ash · 1 comment
Owner

What

Integrate snapshotting with CommandBus to avoid replaying full event history on every command.

Design

  • After N events, save state snapshot
  • On next command: load snapshot + replay only new events
  • Configurable threshold
  • Snapshot store interface (memory, SQLite, Postgres)
## What Integrate snapshotting with CommandBus to avoid replaying full event history on every command. ## Design - After N events, save state snapshot - On next command: load snapshot + replay only new events - Configurable threshold - Snapshot store interface (memory, SQLite, Postgres)
Author
Owner

Deferred to post-v1. Deferred: only needed for streams with 1000+ events. Optimize later.

**Deferred to post-v1.** Deferred: only needed for streams with 1000+ events. Optimize later.
ash closed this issue 2026-02-20 08:23:44 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ash/eskit#17
No description provided.