From b029a78a43d67d93ce435c65b8a30ed18bfb7f59 Mon Sep 17 00:00:00 2001 From: Yerassyl Zhanymkanov Date: Tue, 16 Aug 2022 16:35:25 +0600 Subject: [PATCH] Add related SO questions for sync/async routes --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0acdd91..0f60347 100644 --- a/README.md +++ b/README.md @@ -363,6 +363,12 @@ while I/O operations are external and server does nothing while waiting for that In short, GIL allows only one thread to work at a time, which makes it useless for CPU tasks. - If you want to optimize CPU intensive tasks you should send them to workers in another process. +**Related StackOverflow questions of confused users** +1. https://stackoverflow.com/questions/62976648/architecture-flask-vs-fastapi/70309597#70309597 + - Here you can also check [my answer](https://stackoverflow.com/a/70309597/6927498) +2. https://stackoverflow.com/questions/65342833/fastapi-uploadfile-is-slow-compared-to-flask +3. https://stackoverflow.com/questions/71516140/fastapi-runs-api-calls-in-serial-instead-of-parallel-fashion + ### 9. Custom base model model from day 0, convert datetime to common standard ### 10. Hide docs by default. Show it explicitly on the selected envs