Skip to main content
🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.
Start 7-day trial →
⚡
← Courses
›
FastAPI Production
›
Module 1 · FastAPI Basics
›
Deploying to Fly.io / Vercel / Railway
quiz
10 / 105
🇺🇸
EN
▼
↗
Share
⋯
More
+75 XP
📋
Task
📖
Theory
🤖
AI Help
Task
What's the single most important thing to set on a uvicorn deploy to handle traffic at all?
🎯 Quiz
Question
What's the single most important thing to set on a uvicorn deploy to handle traffic at all?
A
Disable `--reload` and crank `--log-level critical` so the access log stops eating CPU on every single request that hits the box
B
Number of workers (`--workers N`) — without this you have one worker, one CPU core, and concurrent requests serialize
C
Put a CDN like Cloudflare in front of the app — uvicorn itself only really matters for static assets at scale
D
Switch the framework from FastAPI to Flask + gunicorn since uvicorn was never designed for production traffic loads
Submit answer
💬 Discussion
Be the first to ask a question or share a tip.
Sign in
to join the discussion. Reading is free.
Loading discussion…