0

I am using the FastAPI, but it does not respond in the following situations.

  1. When one request is received, one thread runs and exits after a few minutes.
  2. If 600 requests are received, 600 threads will be started. Then FastAPI cannot return requests immediately.

Is there a way to make API response the highest priority in this situation? thanks.

sorry for my bad english.

Chris
  • 18,724
  • 6
  • 46
  • 80
dahuin
  • 67
  • 7
  • Does this answer your question? [FastAPI runs api-calls in serial instead of parallel fashion](https://stackoverflow.com/questions/71516140/fastapi-runs-api-calls-in-serial-instead-of-parallel-fashion) – Chris Dec 21 '22 at 10:06

0 Answers0