Writing
Notes on architecture and reliability.
A technical knowledge base drawn from building trading platforms, wallet infrastructure and cross-chain systems. Most articles link to a playground you can run.
4 articles
Separating State Transitions from Side Effects
Why a transition function should return effects as data — and how that makes complex flows testable, replayable and framework-agnostic.
State machinesNov 29, 2026
Designing an API Client with Automatic Failover
Timeouts, retries with jittered backoff, circuit breakers and endpoint failover — composed as small policies instead of one tangled fetch wrapper.
NetworkingNov 29, 2026
Durable Workflows and the Saga Pattern
Multi-step, cross-system operations fail halfway. Persisted steps, idempotency keys and compensations turn that from an incident into a state.
WorkflowsNov 29, 2026
Building Resilient Real-Time Streams
Heartbeats, inactivity detection, reconnection with backoff and sequence-gap recovery for SSE and gRPC streams.
Distributed systemsNov 29, 2026
In the queue
Topics being written up next.
Software architecture
Designing a Framework-Agnostic Wallet Manager
Design patterns
Type-Safe Registries in TypeScript
Web3
EOA vs. Smart Account Architecture
Frontend
Building Observable Framework-Agnostic Services
Dependency management
Reactive Service Dependency Graphs
System design
Intent–Capability–Matcher Architecture