Answer the question
In order to leave comments, you need to log in
uWSGI configuration: processes, workers and threads. What is a good configuration for a weak server?
Hello everyone,
I recently launched a project on vdsk (1 core, 512 mb memory, SDD disk) under Ubuntu. I started testing the site, and noticed that with a load of 15 simultaneous users, the processor is loaded at 100%. Reviewed everything that set up and configured. It seems that uWSGI is still the weak link in this chain. I rummaged through a bunch of documentation on the Internet, but I still didn’t find an answer to the question, how to successfully configure it for VDS with my parameters.
What are the optimal settings for processes, workers and threads to choose? Are there formulas? Or recommendations that I could not find.
Thank you very much for your help.
Answer the question
In order to leave comments, you need to log in
Well, you open top and see who is eating resources. And so the classic 2 workers per core.
uwsgi-docs.readthedocs.org/en/latest/ThingsToKnow.html here is something you couldn't find.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question