FastAPI 0.115 · Running the app

Run several worker processes

Start multiple processes to use more than one CPU core.

fastapi run main.py --workers 4

Official FastAPI 0.115 documentation

More running the app commands

All running the app commands · FastAPI 0.115 cheatsheet

Was this page helpful?