Refine technical documentation to reflect current architecture, component structure, and routing conventions for the vcon console.
613 B
613 B
Data Buffer Engine Manifest
Purpose
In-memory event batching engine (core/data/buffer.ts) that queues incoming events and flushes them in batches to partitioned CSV files on disk.
Key Responsibilities
- Queues validated events in memory to avoid per-event disk I/O overhead.
- Automatically flushes queued batches to
CSVStorageManager.appendBatch()when the queue reachesbatchFlushThreshold(500events) or when the periodic flush timer (batchFlushIntervalMs, default2000ms) fires. - Supports dynamic timer rescheduling via
setFlushInterval(intervalMs)when updated in/vcon/settings.