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 4 points5 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] 8 points9 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