Skip to content

v0.2.0

Released 2026-03-14

Codecs:

  • SBE Wire Format Engine (src/codec/sbe.zig) — MessageHeader, GroupHeader, SbeEncoder/SbeDecoder, comptime schema definitions, Decimal64
  • FIX/SBE Market Data Messages (src/codec/fix_messages.zig) — NewOrderSingle, ExecutionReport, MarketDataIncrementalRefresh, MassQuote, Heartbeat, Logon/Logout, FIX enums

Network & Protocol:

  • Wire Protocol Flyweights (src/protocol/flyweight.zig) — Aeron-compatible DataHeader 32B, StatusMessage 36B, NAK 28B, Setup 40B, RTTM 40B, Error with FrameType/ErrorCode enums
  • Flow Control (src/channel/flow_control.zig) — MinFlowControl, MaxFlowControl, TaggedFlowControl for multicast receiver management
  • Congestion Control (src/channel/congestion.zig) — AIMD with slow start, RttEstimator (RFC 6298), NakController with exponential backoff

Core Infrastructure:

  • Broadcast Buffer (src/core/broadcast.zig) — 1-to-N market data fan-out with BroadcastTransmitter/BroadcastReceiver/CopyBroadcastReceiver, lapping detection
  • Idle Strategies (src/core/idle_strategy.zig) — BusySpin, Yielding, Sleeping, Backoff (state machine), NoOp
  • Agent Pattern (src/core/agent.zig) — AgentFn, AgentRunner (threaded), CompositeAgent, DutyCycleTracker
  • Shared Counters (src/core/counters.zig) — CounterType (31 types), Counter, CounterSet, GlobalCounters

Cluster & Archive:

  • Write-Ahead Log (src/cluster/wal.zig) — Persistent Raft WAL with CRC32, SyncPolicy, recovery
  • Raft Snapshots (src/cluster/snapshot.zig) — SnapshotManager with configurable interval, CRC32 validation
  • Archive Catalog (src/archive/catalog.zig) — CatalogEntry metadata index with timestamp/stream queries
  • Sparse Index (src/archive/index.zig) — Binary search by timestamp/sequence, every-Nth indexing
  • LZ4 Compression (src/archive/compression.zig) — Compressor/Decompressor with CompressedFrame format
  • Updated README.md with new module table, features, and project structure
  • Updated architecture docs with new layer diagrams, data structures, and data flows
  • Updated API reference with complete documentation for all 14 new modules
  • Updated benchmark docs with new benchmark targets (SBE, broadcast, compression)
  • Added /commit skill for automated version bump, changelog, and release branches
  • 14 new source modules
  • ~8,500 new lines of code
  • 152 new tests (total: 199 passing)
  • 4 documentation files updated
  • src/codec/sbe.zig (new)
  • src/codec/fix_messages.zig (new)
  • src/protocol/flyweight.zig (new)
  • src/channel/flow_control.zig (new)
  • src/channel/congestion.zig (new)
  • src/core/broadcast.zig (new)
  • src/core/idle_strategy.zig (new)
  • src/core/agent.zig (new)
  • src/core/counters.zig (new)
  • src/cluster/wal.zig (new)
  • src/cluster/snapshot.zig (new)
  • src/archive/catalog.zig (new)
  • src/archive/index.zig (new)
  • src/archive/compression.zig (new)
  • src/root.zig (modified — added imports, version bump)
  • README.md (updated)
  • docs/architecture.md (updated)
  • docs/api-reference.md (updated)
  • docs/benchmarks.md (updated)