chi0sk / open source
A collection of infrastructure libraries I've built over the years - now cleaned up, documented, and open for anyone to use.
Systems
Production-ready DataStore wrapper with session locking, automatic lease management, hash verification, and circuit breaker protection.
→Delta-compressed real-time state replication with integrity verification, batch optimization, and automatic client reconciliation.
→Distributed job processing with exactly-once execution, priority queues, work stealing, and cross-server coordination via MessagingService.
→Distributed rate limiting with ring buffers, CRDT delta merging, vector clocks, four algorithm strategies, and automatic penalty boxes.
→Deterministic hierarchical state machine with guards, nested states, timeout transitions, snapshot/restore, cycle-safe cloning, and a cooperative event queue.
→Per-resource fault isolation with consecutive and sliding window failure modes, probe-based recovery, call timeouts, fallbacks, and optional EventBus integration.
→Hierarchical pub/sub event bus with trie routing, *, and ** pattern matching, middleware pipeline, namespaces, dead letter tracking, and optional cross-server distribution.
→How They Work Together