Skip to course content
Free FastAPI backend course

FastAPI for AI Backend Development

Module 12

Database and External Service Boundaries

By the end of this module you can put a database or third-party service behind a boundary your code owns, so a change of provider does not become a rewrite.

Units

  1. Unit 12.00: The database session, per request
  2. Unit 12.01: Failures at the boundary you do not control
  3. Unit 12.02: Timeouts on every outbound call
  4. Unit 12.03: Retries that do not multiply the load
  5. Unit 12.04: Keeping the driver out of your services

Module work