High-Load Services with FastAPI

  • Basic

  • 28 lessons

  • 10 hours

Learn to build high-load services with FastAPI: speed up APIs, configure caching, queues, and overload protection.

Course overview

This course helps backend developers confidently design and evolve high-load services with FastAPI. You will learn to measure performance, eliminate bottlenecks, optimize PostgreSQL, use Redis for caching, move heavy work into queues, and improve service reliability. Every topic is reinforced with practice in UPSHELL: lessons include theory, a task, auto-tests, an AI mentor, a web editor, and SSH access to an isolated environment.

You will learn
  • Design reliable high-load APIs

  • Profile services and find bottlenecks

  • Optimize PostgreSQL, caching, and background jobs

  • Set up observability and overload protection

Table of contents

Highload Basics and FastAPI

Practice

Profiling API Under Load

Practice

Finding Bottlenecks in Handlers

Practice

Async Without Blocking

Practice

Workers and Runtime Model

Practice

Idempotency and Retries

Practice

Timeouts and Overload Protection

Practice

Optimizing PostgreSQL Access

Practice

DB Pooling and Limits

Practice

N+1 and Query Batching

Practice

Redis Cache for FastAPI

Practice

Protection from Cache Stampede

Practice

Replicas and Scaled Reads

Practice

Pagination and Streaming

Practice

When to Offload to Background

Practice

Celery and Message Brokers

Practice

Background Task Reliability

Practice

Outbox and Event Consistency

Practice

Batch Data Processing

Practice

Rate Limiting for Queues

Practice

Periodic Task Scheduling

Practice

Observability: Logs and Metrics

Practice

Request Tracing in Service

Practice

Rate Limiting for Public API

Practice

Circuit Breaker and Bulkhead

Practice

Graceful Shutdown and Readiness

Practice

Containerization and Deploy

Practice

Load Testing the Service

Practice

  • image-loading

  • image-loading

  • image-loading

  • image-loading

Frequently Asked Questions

A subscription to the platform gives you unlimited access to all courses, as well as access to an online trainer with practical exercises.

Additionally, with a Premium subscription or higher, you also get access to all pet projects and the opportunity to take technical interviews with an AI mentor.

You can cancel your subscription at any time, and you will still have access to the platform for the paid period. You can do this through your personal account in the 'Subscription Management' section.

Yes, you can upgrade to a new plan at any time. We will provide a discount based on the unused time of your current plan. You can change your plan in your personal account.

To request a refund for a paid plan, please contact us at support@upshell.io. We will process your refund for the unused portion of your subscription within 5 business days.

Get access to 23+ courses for backenders with Subscription

Get access to *23+ courses* for backenders with *Subscription*
Have an account?