How Query Engines Work

Over the past decade I’ve spent a fair bit of time either building query engines or building integrations with query engines so I decided to write an introductory book on the subject.

The book walks through every step of building a SQL query engine in Kotlin with full source code available in a companion GitHub repository. Most of the book is programming-language agnostic and Kotlin was chosen for the code examples due to its conciseness and readability. The concepts should be easily translatable to other programming languages.

Free HTML Edition

The HTML version of the book is available for free at https://howqueryengineswork.com/

ePub, MOBI, and PDF Edition

The book is also available for purchase in ePub, MOBI, and PDF format from leanpub.com.

How Query Engines Work

Amazon Kindle Store

The book is now also available for purchase directly from the Amazon Kindle store in many countries: