Python Microservices with FastAPI: Design production-ready, AI-enabled microservices with Python

Paperback Published on: 30/12/2026
Price: £33.99
Free UK delivery on orders over £25
Coming soon
Published 30/12/2026
Make and edit your lists in your account
No stock available in any shop.
Coming soon
Published 30/12/2026
No stock available in any shop.

Synopsis

Design and ship production-ready FastAPI microservices from first service to secure authentication, bookings, reviews, smart search, AI-assisted support, reliable testing, and a confident path to scalable production systems

Key Features

Design clear, evolvable services, and explain decisions your team trusts

Ship reliable backends with the right data stores, async jobs, auth, testing, and observability

Add practical AI features (RAG, agents) that reduces support and drives measurable value

Book DescriptionThis book shows you how to turn an idea into a reliable product.

This is a playbook for practical progress. Choose what to ship now, what to delay, and how to avoid risky changes. Keep services tidy, naming clear, and tests small but useful. You will build a realistic end-to-end system step by step, following the evolution of a babysitting marketplace platform with sign-up, search, booking, messaging, and payments delivered in steady increments.

When it is time to add intelligence, you learn practical ways to use AI for customer support, recommendations, and operational insights. The focus stays on measurable value, not hype, while keeping performance, costs, and reliability predictable in production.

Your guides are Giunio De Luca, PhD, author of Packt’s FastAPI Cookbook and an architect who has shipped systems across research, sports, and energy, and Igor “Benav” Magalhães, founder of Benav Labs and maintainer of widely used open-source tools. They share patterns they rely on when deadlines are real and reliability matters.

By the end, you will not just know FastAPI. You will think like a senior engineer, plan delivery with confidence, avoid common traps, measure what matters, and run a backend platform that users trust and teams enjoy maintaining.What you will learn

Set up a microservice from scratch with modern Python tooling

Build RESTful APIs with clean boundaries, DI, and type-safe models

Design multiple services and compose them through a gateway

Model data with PostgreSQL, MongoDB, and vector stores

Scale with async I/O, background tasks, queues, and WebSockets

Secure services with OAuth2/JWT and role-based access

Test, profile, observe, and deploy with confidence

Add AI features including RAG chatbots, agents, and analytics

Who this book is forFor Python developers who want to move beyond monoliths and ship scalable backends. Ideal for engineers aiming for lead/architect roles who need practical patterns for clean code, async workflows, and multi-database design. You’ll learn how to add secure authentication, real-time features, and AI capabilities RAG chat, agents, and analytics without losing testability or performance. Basic Python and web API knowledge is recommended.

Publisher information

  • Publisher: Packt Publishing Limited
  • ISBN: 9781835461167
  • Dimensions: 235 x 191 mm
  • Languages: English

Customer Reviews