Architecture diagram showing pre-trade risk controls on AWS

Designing Pre-Trade Risk Controls on AWS (SEC Rule 15c3-5)

Introduction On August 1, 2012, Knight Capital Group—one of the largest market makers on the New York Stock Exchange—lost $440 million in 45 minutes due to a software deployment failure. The incident nearly bankrupted the firm and sent shockwaves through financial markets. While the technical details are fascinating, the real lesson lies in what wasn’t there: an effective, centralized mechanism to stop runaway automation before catastrophic losses occurred. This post explores how modern streaming architectures using Apache Kafka and Apache Spark can implement the kind of real-time risk controls that regulations now require—and that Knight Capital desperately needed. We’ll connect the dots between a historic trading disaster, regulatory requirements, and a hands-on demo you can deploy yourself. ...

February 14, 2026 · 13 min · Luke Little
Reference Architecture for Safe Generative AI on AWS for Regulated Environments

From Prompt to Production: Designing Safe Generative AI on AWS for Regulated Environments

The Real Problem: Production, Not Prototypes Everyone can demo generative AI. Almost no one can run it safely in production. Enterprises in finance, healthcare, and the public sector aren’t blocked by technology capabilities—they’re blocked by governance requirements that today’s AI implementations rarely satisfy. These organizations face three critical blockers: Data leakage risk: Sensitive information, from PII to trade secrets, flowing through public model APIs Lack of auditability: No reliable record of prompts, responses, or who accessed what information Unclear ownership: Ambiguous rights over prompt engineering IP, training data, and generated outputs AWS customers don’t want AI that behaves like a chatbot toy. They need AI that behaves like enterprise infrastructure: secured, monitored, audited, governed, and compliant with their existing security posture. ...

February 1, 2026 · 5 min · Luke Little