feat: event store compaction for long-lived streams #238
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#238
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Long-lived streams (e.g., a user account active for years) accumulate thousands of events. Reading the full stream to rebuild state gets slower over time. Snapshots help but old events still consume storage.
Solution
Stream compaction: take a snapshot at version N, then delete events 1..N.
Safety:
Pillar: Performance, Memory Efficiency