Expand description
Flow control, adaptive batching, and sync metrics.
Manages the delta push pipeline with:
- ACK-based flow control: in-flight window limits concurrent unACK’d deltas
- Adaptive batch sizing: AIMD algorithm adjusts batch size based on observed RTT
- Bounded pending queue: configurable limits on pending delta count and bytes
- Sync metrics: structured, observable sync state for monitoring
All state is behind tokio::sync::Mutex for use from the async sync transport.
Structs§
- Flow
Control Config - Flow control configuration.
- Flow
Controller - Flow controller — manages the delta push pipeline.
- Sync
Metrics - Sync metrics — atomic counters for lock-free concurrent access.
- Sync
Metrics Snapshot - Observable sync metrics — all atomic for lock-free reads.