Skip to main content

Module async_writer

Module async_writer 

Expand description

Async journal writer that decouples disk I/O from the engine loop.

AsyncJournalWriter wraps a JournalWriter, calling [stamp()] inline (microseconds — CPU-only) and sending the serialized frame bytes to a background thread for batched write_all() + sync_all().

Structs§

AsyncJournalWriter
Journal writer that stamps events inline and writes to disk on a background thread.