How many uvicorn workers to use per fastAPI web app?
I’m running two instances of FastAPI apps on the same Ubuntu EC2 server. One app is for staging and one app is for production. The server has 4 VCPUs. I’m using Nginx as a reverse proxy.
fastapi and uvicorn problems
I have downloaded fastapi , but got an error of no module found
so I installed in virtual environment , where I used
FastAPI not finding templates/index.html (TemplateNotFound: index.html)
My folder structure looks like this: