LaminarDB Core
The core streaming engine for LaminarDB, implementing the Ring 0 (hot path) components.
This crate provides:
- Reactor: Single-threaded event loop with zero allocations
- Operators: Streaming operators (map, filter, window, join)
- State Store: Lock-free state management with sub-microsecond lookup
- Time: Event time processing, watermarks, and timers
Design Principles
- Zero allocations on hot path - Uses arena allocators
- No locks on hot path - SPSC queues, lock-free structures
- Predictable latency - < 1μs event processing
- CPU cache friendly - Data structures optimized for cache locality
Example
use ;
let config = default;
let mut reactor = new?;
// Run the event loop
reactor.run?;