Requests are too slow. #311
-
Hi, I have a simple fastapi application (which is just showing results from teh database). I am using tiangolo/uvicorn-gunicorn-fastapi:python3.7 as a base image. My problem is: it is just too slow, here are the result with curl: How can I tweak the image envs or whatever to make it faster? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
same for me :( |
Beta Was this translation helpful? Give feedback.
-
It would probably be helpful if you could tell us more about your setup (platform etc.). I saw really slow requests when running the amd64 Image on arm64. |
Beta Was this translation helpful? Give feedback.
-
Maybe you have reload active, and have logs / db data in the same folder as fastapi app? That may cause WatchGod reload on every single file change. |
Beta Was this translation helpful? Give feedback.
Maybe you have reload active, and have logs / db data in the same folder as fastapi app? That may cause WatchGod reload on every single file change.