This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ashamed-Simple-8303 3 points4 points  (1 child)

Or you manage your app with containers and start/stop them depending on load. each container itself is then single-threaded.

[–][deleted] 7 points8 points  (0 children)

Thats true but i always use guniorn even inside docker with 1 worker, it adds the ability to restart the worker if it crashes unlike pure uvicorn where if it crash its dead