Retries, timeouts, webhooks and month-end reconciliation: the parts tutorials skip. A practical book for backend engineers who build or own payment systems, from cards to real-time rails like Pix, UPI and QRIS.
Build a Go Web API that goes beyond “Hello, World”Getting a REST API running in Go is easy.Building one that is structured well, handles concurrent requests correctly, manages database changes safely, can be tested, containerized, documented, and deployed is where things become interesting.Building Production Web APIs with Go takes you through that journey step by step.You begin with a tiny HTTP server and gradually develop it into a complete library API backed by PostgreSQL. Rather than presenting a finished architecture and asking you to copy it, the book introduces problems as the application grows, then shows how to solve them. You see not only what the final code looks like, but why the design changes are necessary.Along the way, you will learn how to:Build RESTful HTTP APIs using Go, net/http, and ChiWork directly with PostgreSQL using pgxGenerate type-safe database code from SQL with sqlcManage schema changes with Goose migrationsSeparate HTTP models from database modelsStructure a Go backend for maintainabilityHandle transactions, row locking, and concurrent requests safelyEnforce data integrity with PostgreSQL constraintsWrite unit tests using database abstractions and test doublesUnderstand what unit tests cannot prove without a real databaseDocument your API with OpenAPI and Swagger UIPackage the application with Docker and Docker ComposeImplement graceful shutdownDeploy the complete application to KubernetesThe example application is deliberately realistic. A seemingly simple operation—allowing a user to borrow a book—eventually exposes concurrency problems and leads naturally to transactions, PostgreSQL row-level locking, and database constraints. The emphasis throughout is on understanding the engineering decisions behind the code rather than simply copying recipes.Who is this book for?This book is for developers who already know the basics of Go and SQL and want to learn how the pieces of a real backend application fit together.It is not a beginner’s introduction to the Go language, nor is it a comprehensive reference to PostgreSQL, Docker, or Kubernetes. Instead, it concentrates on the practical decisions involved in taking a small Go application toward a production-oriented architecture.If you can write basic Go programs and understand simple SQL queries, this book will help you make the transition from “I can build an API” to “I understand how to engineer a backend.”
Build a clear mental model of Go through illustrations and small working examples. Learn how source code, packages, interfaces, errors, and goroutines fit together, then apply the foundations to reliable command-line tools and network services.
AI can write code at machine speed. Can your architecture keep up? Architecture at Machine Speed shows how to build Go systems that remain coherent as humans and AI agents change them at unprecedented velocity. Through a real-world application built from the ground up, you'll learn to turn architectural intent into explicit boundaries, enforceable constraints, and automated safeguards—because when code becomes abundant, coherence becomes the scarce resource.
From the Linux basics to advanced development workflows, this practical guide shows you how to turn Linux into a powerful software development environment. Learn the command line, work with popular programming languages, use containers and CI/CD, debug and profile applications and build skills you can use every day.
Whenever I've worked on a service, there's always been a morning when it stops being a demo. Then traffic arrives from somewhere nobody planned for, a nightly job overruns into the working day, and a number somebody chose months ago turns out to be wrong. That morning was a different story, though. The thing that separates a survival program from one that doesn't is a set of habits, and those habits can be learned. So, this second edition is organised around them rather than around syntax.
What if S3 could be more than a place to put files? Build databases, queues, event logs, Git systems and distributed applications directly on object storage. Through production-grade Go implementations, this book explores what works, what breaks and how to design reliable systems around the real guarantees of S3-compatible storage.
Discover G#, a modern .NET language built for developers who want less friction and more clarity. Go from your first line of code to production-ready applications while exploring the simplicity of Go, the expressive feel of Kotlin and Swift and the power of the CLR. Practical examples and real-world guidance make every chapter count.
Build terminal apps that feel fast, polished and built to last. Terminal Interfaces takes you from the fundamentals of how terminals work to production-ready TUIs in Go, Python and Rust, using complete examples that grow from simple programs into powerful real-world tools.
Go beyond Go syntax and learn how real systems are built. Modern Go Systems Programming with Go 1.27 takes you from core language concepts to concurrency, networking, databases, observability and deployment, with runnable examples that show how everything fits together in production-grade distributed systems.
Stop overload from becoming unbounded queues, goroutines, and downstream calls. Build bounded backpressure that fails predictably.
Build fast, reliable networked applications with Go by mastering socket programming from the ground up. Through practical examples and production-focused techniques, you will learn how to design scalable servers, implement modern network protocols, secure connections and optimize performance using idiomatic Go and the standard library.
Another Production Field Manual: protect APIs before overload becomes an outage with rate limiting, throttling, and tenant fairness.
Learn how to stop retry storms, contain dependency failures, and make resilient microservice calls observable, bounded, and production-ready.
A complete, modern guide to writing idiomatic Go, covering generics, goroutines, structured logging, and everything you need to ship a real concurrent service on Go 1.24/1.25. Perfect for developers coming from Python, Java, JavaScript, or C# who want to think and build like a fluent gopher.