Leanpub Header

Skip to main content

AI Platform Engineering

Designing the Systems Behind Intelligent Applications

Everyone's building AI applications. Almost nobody is building the platform those applications need to survive production. This book is the builder's field guide to that missing layer — model serving, GPU orchestration, inference optimization, observability, cost engineering, and everything else that separates an AI demo from an AI system.

Interested in this book? Show your support by saying what you'd like to pay for it!

$
PDF
EPUB
WEB
APP
7
Pages
About

About

About the Book

There's a growing gap in the AI world that nobody talks about enough.

On one side, there are brilliant models — foundation models, fine-tuned specialists, autonomous agents doing remarkable things. On the other side, there's raw infrastructure — GPUs, servers, networks, storage. What's missing is the platform layer in between: the systems that take those models and that hardware and turn them into something an organization can actually rely on.

That layer is what this book is about.

AI Platform Engineering is a hands-on, code-driven guide to designing, building, and operating the systems that power production AI. It's written by an engineer who builds AI platforms daily — not from the perspective of a consultant who parachutes in, but from someone who lives with the consequences of every architectural decision.

What you'll learn:
  • Model Serving Architecture — How inference engines like vLLM, TensorRT-LLM, and SGLang actually work. Continuous batching, KV cache management, PagedAttention, and the serving stack from model weights to API response.
  • Inference Optimization — Quantization (FP16 to INT4), speculative decoding, semantic caching, and model routing. Getting more intelligence per GPU dollar.
  • GPU Orchestration — Kubernetes for AI workloads, Dynamic Resource Allocation, job queuing with Kueue, multi-tenant GPU scheduling, and when to use Slurm or Ray instead.
  • The Data Layer — Vector databases, RAG pipeline architecture, embedding stores, and storage systems that can keep GPUs fed without becoming bottlenecks.
  • AI Observability — Why the three pillars aren't enough. Monitoring non-deterministic systems, output quality tracking, distributed tracing for AI pipelines, and alerting that actually helps.
  • AI FinOps — Token economics, cost-per-inference tracking, model routing for cost optimization, and the TCO math for on-premises vs. cloud.
  • Security & Governance — Prompt injection defenses, multi-tenant isolation, data sovereignty, model governance, and guardrails as platform services.
  • Agent Infrastructure — What agentic AI means for platform engineers: session management, tool execution sandboxes, cost control, and observability for autonomous workflows.
  • Developer Experience — Building a platform that engineers actually want to use. Self-service interfaces, golden paths, templates, and feedback loops.
What makes this book different:

This is not a survey of tools. It's not a strategy book for executives. It's an engineering book that treats AI platform building as a craft — with the same rigor that Designing Data-Intensive Applications brought to distributed systems.

Every chapter includes working code, architecture diagrams, and a "Builder's Notebook" section with hands-on exercises. The companion GitHub repository provides complete, runnable implementations for every major concept.

Who this book is for:
  • Platform engineers whose teams just got tasked with "build us an AI platform"
  • ML engineers who are tired of the gap between notebook prototypes and production systems
  • Engineering managers building AI platform teams who need the technical depth to make architectural decisions
  • DevOps/SRE engineers entering the AI infrastructure space
  • Anyone who believes that the systems behind AI matter as much as the models themselves
Who this book is NOT for:
  • Data scientists looking for a model training guide
  • Executives looking for AI strategy advice
  • Beginners looking for a "What is Machine Learning?" introduction

This book assumes you're a working engineer who is comfortable with distributed systems concepts, has used containers and orchestration tools, and wants to go deep on the specific challenges of building platforms for AI workloads.

Author

About the Author

Ravikanth Chaganti

Ravikanth is a Distinguished Engineer and an architect in the AI and HPC Solutions Engineering team at Dell Technologies. Ravikanth is the author of Windows PowerShell Desired State Configuration Revealed (Apress) and Pro PowerShell Desired State Configuration (Apress). He self-published several books on Leanpub. He can be seen speaking regularly at local user group events and conferences in India and abroad.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub