fastbook · C++23 · in progress
- Designed a low-latency market-data pipeline that reconstructs per-instrument order books; sharded the feed across core-pinned threads via lock-free SPSC queues and used io_uring for network data.
- Implemented a lock-free, run-based size-class allocator with thread-local caches and huge-page backing, plus object pools, to keep heap allocation off the hot path.
Redis server · Rust
Implemented a Redis server from scratch: strings, lists, streams, transactions, replication, persistence, key expiry, pub/sub and authentication, on an async event loop with Tokio channels and a RESP3 parser.
Fault-tolerant network protocols · C++
Implemented 3 fault-tolerant protocols for reliable communication over UDP on a multi-threaded epoll event loop.
Nex2Chat · Go
Fully decentralized P2P social network: a Chord DHT for storage and Paxos for state management, no central servers.
kafka-rust · Rust
A custom, minimal Kafka implementation.