Skip to main content

azoth_file_log/
lib.rs

1//! File-based event log implementation
2//!
3//! Provides a high-performance append-only event log using sequential file writes.
4//! This is much faster than LMDB for event storage and doesn't block the canonical
5//! store's write operations.
6//!
7//! Features:
8//! - Fast sequential writes (no ACID overhead)
9//! - Buffered sequential reads for iteration
10//! - Automatic log rotation based on size
11//! - EventId allocation via atomic counter + file sync
12//! - Multiple concurrent readers, single writer
13
14mod store;
15
16pub use store::{FileEventLog, FileEventLogConfig};