Expand description
File-based event log implementation
Provides a high-performance append-only event log using sequential file writes. This is much faster than LMDB for event storage and doesn’t block the canonical store’s write operations.
Features:
- Fast sequential writes (no ACID overhead)
- Memory-mapped reads for iteration
- Automatic log rotation based on size
- EventId allocation via atomic counter + file sync
- Multiple concurrent readers, single writer
Structs§
- File
Event Log - File-based event log implementation
- File
Event LogConfig - Configuration for file-based event log