Trading Systems Are Data Systems

Posted on Sun 07 June 2026 | Part 6 of Building Real Trading Systems | 18 min read

Featured image for Trading Systems Are Data Systems

A trading system cannot rely on speed alone. Reliable data capture, state management, replayability, and observability are what make live behavior debuggable and trustworthy.


Continue reading

Go's Runtime Model for High-Throughput Services

Posted on Sat 16 May 2026 | 30 min read

Featured image for Go's Runtime Model for High-Throughput Services

High-throughput services spend much of their time waiting on I/O. Go's runtime addresses this by multiplexing large numbers of lightweight tasks through goroutines, an internal scheduler, and coordinated synchronization primitives.


Continue reading

Scaling Trading Systems Beyond Pandas

Posted on Sun 03 May 2026 | Part 5 of Building Real Trading Systems | 19 min read

Featured image for Scaling Trading Systems Beyond Pandas

Small trading systems optimize code paths. Larger ones optimize data movement. Scaling beyond Pandas means treating storage layout, ingestion, and derived datasets as part of the backtesting engine.


Continue reading

Schema Evolution Under Live Order Flow

Posted on Sun 12 April 2026 | Part 7 of Distributed Systems in Finance | 14 min read

Featured image for Schema Evolution Under Live Order Flow

Schema changes don't roll out atomically in real systems. Old and new versions coexist across services, making backward compatibility and long-term correctness unavoidable constraints.


Continue reading

Streaming Under Adversity: Building Systems That Survive Reality

Posted on Sat 21 March 2026 | Part 6 of Distributed Systems in Finance | 26 min read

Featured image for Streaming Under Adversity: Building Systems That Survive Reality

Financial streaming systems must remain correct when reality intervenes. This article dissects crash mid-window recovery, checkpoint corruption, idempotent effects and deterministic replay when failures occur.


Continue reading

Designing Fault-Tolerant Async Trading Services in Python

Posted on Sat 07 March 2026 | Part 4 of Building Real Trading Systems | 20 min read

Featured image for Designing Fault-Tolerant Async Trading Services in Python

A production-ready async runtime architecture with explicit supervision and restart discipline, built to keep trading systems correct under failure, stress and load spikes.


Continue reading

Inside DeFi's Hidden Economy: MEV, Mempools, and the Battle for Blockspace

Posted on Sat 21 February 2026 | Part 4 of DeFi Engineering | 17 min read

Featured image for Inside DeFi's Hidden Economy: MEV, Mempools, and the Battle for Blockspace

Step inside DeFi's hidden economy: how mempools, MEV and Flashbots turn transaction ordering into a latency-driven execution game where speed and visibility decide outcomes long before settlement.


Continue reading

From Blocks to State: A Mental Model for Blockchain Systems

Posted on Sat 07 February 2026 | Part 3 of DeFi Engineering | 18 min read

Featured image for From Blocks to State: A Mental Model for Blockchain Systems

Blockchains are often explained through protocol-specific concepts like blocks or slots. This article reframes them as distributed state-transition systems, where ambiguity and delayed agreement exist to varying degrees across chains.


Continue reading

The Hidden DAG Behind Every Modern Trading System: How Market Data Is Ingested at Scale

Posted on Sat 24 January 2026 | Part 5 of Distributed Systems in Finance | 17 min read

Featured image for The Hidden DAG Behind Every Modern Trading System: How Market Data Is Ingested at Scale

Modern trading systems rely on directed acyclic graphs (DAGs) that branch, merge, and transform real-time feeds into many parallel consumers: matching engines, risk checks, analytics, surveillance, and storage. These ingestion DAGs exist to isolate failure, control fan-out, and preserve latency and correctness under extreme market conditions.


Continue reading

Flow Control in Low-Latency Systems: Batching, Conflation, and Backpressure

Posted on Sat 10 January 2026 | Part 3 of Low-Latency Fundamentals | 15 min read

Featured image for Flow Control in Low-Latency Systems: Batching, Conflation, and Backpressure

Low-latency systems fail when work becomes unbounded. Batching, conflation, and backpressure are mechanisms that keep systems stable under bursty, adversarial load. Without them, tail latency and cascading failures are inevitable.


Continue reading