Free e-book

Build a Database Server

Learn how real databases work by following this practical guide to building your own

Start your database adventure today

Community Edition

Last updated on 2025-07-07


When you click Get My Free Ebook, we will send you a link to your email address provided above. When you click that link, we will create a Leanpub account for you, and you will be able to download the Community Edition from your Leanpub library.

By clicking Get My Free Ebook you agree to share your name and email address with the author(s) of this book, and to join their mailing list if they have one. You also agree to Leanpub's Terms of Service and Privacy Policy.


Build a TCP server to

Chris Zetter
Chris Zetter

What is it all about?

Build a Database Server guides you through building a database server from scratch. The community edition lets you preview the book and start your implementation.

What you'll learn

The community edition contains the books introduction and first chapter, including:

  • What Makes SQL Special which explores why SQL has become the dominant way to communicate with databases
  • The Server which is the first implementation chapter where you will build a TCP server that can send and receive data to a client. You can complete this in a language of your choice and the chapter contains specific hints for how to get started in Ruby, Node and Python.