๐Ÿ—๏ธ Modernizing Enterprise Applications โ€” Python
Home Chapters Examples Diagrams Bibliography GitHub โ†—
Home / Communication & Contracts
Part 8 3 chapters

Communication & Contracts

REST/gRPC/GraphQL (+ order extraction & gateway, strangler completes), the FastAPI chassis, the schema/API/service registry.

Chapter 26

Communication Styles & Extraction 6: Order + GraphQL Gateway

REST, gRPC, async sagas and GraphQL aggregation side by side; the order context extracted last into a CQRS write/read split; the strangler completes, the proxy goes flagless and the monolith is frozen.

45 minutesRead โ†’
Chapter 27

The FastAPI Chassis

A used, partial and deferred scorecard for the cross-cutting platform the eight FastAPI and Starlette services share: config, logging, health, errors and resilience as convention, plus what is named but not built.

30 minutesRead โ†’
Chapter 28

Contracts & the Service Registry

A schema registry replaces hand-copied Pydantic contracts with one governed schema and a compatibility rule that rejects breaking changes at registration. Apicurio with Avro, demonstrated alongside the live JSON flows.

35 minutesRead โ†’
โ† Previous part Coordinating Across Services Next part โ†’ Operating the Modernized System

Modernizing Enterprise Applications โ€” Python

A Django monolith strangled to FastAPI microservices, one seam at a time, driven by an Agentic Development Lifecycle (ADLC) and tested throughout.

Book

  • Chapters
  • Examples
  • Bibliography

Reference

  • FastAPI โ†—
  • Django โ†—
  • View on GitHub โ†—
  • Issues โ†—
Open source ยท Apache 2.0 Last built 2026-11-11