Thread 03 — Others
Systems, markets
& chains.
The rest of the stack I care about — scalable system design, low-latency trading systems, and Ethereum smart contracts. The hard, performance-critical corners.
System DesignHFTBlockchainDistributedLow-Latency
others · index 3 threads
System Designscale
HFT / Low-Latencyspeed
Blockchaintrust
Focus
System Design
Trading
Low-Latency / HFT
Chain
Ethereum / EVM
Langs
C++ · Solidity
Three threads
System Design
Designing systems that scale — partitioning, caching, and the consistency trade-offs behind them.
- Horizontal scaling & sharding
- Caching + CDN strategy
- Message queues (Kafka)
- CAP & consistency trade-offs
HFT / Low-Latency
Trading systems where microseconds matter — from the order book down to cache lines.
- Limit order book & matching
- Lock-free data structures
- Market-data ingestion
- Backtesting & risk checks
Blockchain
Smart contracts and DeFi protocols on Ethereum and EVM-compatible chains.
- Gas-optimized Solidity
- Reentrancy-safe patterns
- DeFi (AMMs, vaults)
- Foundry fuzz testing
Toolkit
System Design
Distributed SystemsCachingKafkaRedisLoad BalancingSharding
HFT / Latency
C++Order BooksBacktestingMarket DataWebSocketsLock-Free
Blockchain
SolidityFoundryEthereumDeFiWeb3OpenZeppelin
Infra
DockerPostgresgRPCLinuxPrometheus
System design
Architecture, cached with Redis.
cache.py
Python1class="syntax-comment"># Cache-aside read-through with Redis2import json3import redis4 5cache = redis.Redis(host="localhost", port=6379, decode_responses=True)6TTL = 300 class="syntax-comment"># seconds7 8def get_user(user_id: str) -> dict:9 key = f"user:{user_id}"10 cached = cache.get(key)11 if cached:12 return json.loads(cached) class="syntax-comment"># cache hit13 14 user = db.fetch_user(user_id) class="syntax-comment"># miss -> source of truth15 cache.set(key, json.dumps(user), ex=TTL) class="syntax-comment"># populate cache16 return user17 18def invalidate(user_id: str) -> None:19 cache.delete(f"user:{user_id}") class="syntax-comment"># write-through invalidationSelected work
2 projectsFocus
Distributed Systems
Sharding, replication, consensus, CAP trade-offs.
Low-Latency
Lock-free structures, cache-aware code, kernel bypass.
Smart Contracts
Gas-optimized, reentrancy-safe Solidity with fuzz tests.
Observability
Metrics, tracing, and SLOs with Prometheus + Grafana.