Jesús EspinoPrincipal Engineer, VictoriaMetrics

Writing

Open the box, follow the data.

Two books and a weekly blog that explain what really happens inside the tools we use every day.

01

Inside PostgreSQL

Self-published · April 2026 · 264 pages

Cover of Deep Dive into a SQL Query

Deep Dive into a SQL Query

A Journey Through PostgreSQL's Query Processing

A guided journey through PostgreSQL's query processing internals. Follow a single query from the connection to the results — parsing, semantic analysis, rewriting, cost-based planning and execution — grounded in PostgreSQL's real source code.

For mid-level to senior engineers who use databases every day and want to know what happens beneath the SQL interface.

  1. 01

    From text to results

    Lexical analysis, parsing, semantic validation, rewriting, cost-based optimization and iterator-based execution.

  2. 02

    Real source code

    Every detail is grounded in PostgreSQL's actual source code, not abstractions or hand-waving.

  3. 03

    Practical examples

    Working examples on the Pagila database, so you can run every code block yourself.

Table of contents · 12 chapters
  1. The complete journey
  2. Connections and communication
  3. SQL parsing
  4. Semantic analysis
  5. Query rewriting
  6. The query planner
  7. Logical query optimization
  8. Query execution
  9. Index internals
  10. Storage, MVCC and buffer management
  11. Result processing and return
  12. Reading query plans

“Whether you're a backend developer diagnosing slow queries, a DBA tuning a production system, or simply someone who believes that understanding your tools makes you improve your developer experience, this book will change your view of SQL queries.”

Franck PachotDeveloper Advocate at MongoDB

“Espino's book does something more useful: it shows you WHAT PostgreSQL does after you hit Enter. It traces a query through the entire pipeline with real examples.”

Alex RiosPrincipal Engineer at Memed

02

APIs in Go

Packt · August 2025 · 294 pages

Cover of Modern REST API Development in Go

Modern REST API Development in Go

Design performant, secure, and observable web APIs using Go's standard library

A practical guide to building production-ready REST APIs in Go with the standard library — from HTTP handlers to authentication, persistence, observability, testing and OpenAPI documentation, all built around one complete, real-world project.

For backend engineers, full-stack developers and Go newcomers who want practical, project-based API skills.

  1. 01

    Built on the standard library

    Idiomatic patterns on Go's own HTTP tooling that scale from small services to large systems.

  2. 02

    Security and observability first

    JWT authentication and authorization, structured logging, metrics and distributed tracing.

  3. 03

    One real-world project

    Handlers, GORM and Squirrel, OpenAPI docs, unit and integration tests — chapter by chapter.

Table of contents · 14 chapters
  1. Introduction to APIs
  2. Exploring REST APIs
  3. Building a REST client
  4. Designing your REST API
  5. Authentication and authorization
  6. Data persistency
  7. API security
  8. API performance
  9. Deploying your API
  10. Testing
  11. Documenting with OpenAPI
  12. Metrics, logs and traces
  13. Using GORM
  14. Using the Echo framework

03

Internals for Interns

A weekly blog of approachable deep dives into compilers, runtimes, kernels, databases and filesystems.

Get the newsletter →

Download