Building a Sub-100 µs Matching Engine with Kotlin Coroutines

In the world of high-frequency trading (HFT), every microsecond counts. Small inefficiencies can quickly snowball into significant costs or missed opportunities. With Kotlin’s robust coroutine model, we can harness lightweight concurrency to power a matching engine that can respond within sub-100 microseconds. In this post, I’ll walk through the design considerations, coroutine architecture, and performance... Continue reading Building a Sub-100 µs Matching Engine with Kotlin Coroutines

Database Denormalization: Boosting Performance, Managing Trade-offs, and Best Practices for Implementation

Every database purist has a moment of crisis when they consider denormalizing perfectly clean, 3NF-compliant data. We spend so much time in university or reading blog posts being told “Don’t Repeat Yourself” or “No duplication in the database!” that the very thought can feel like sacrilege. Yet here we are, about to talk about intentionally... Continue reading Database Denormalization: Boosting Performance, Managing Trade-offs, and Best Practices for Implementation