Better default uwsgi configuration
By default, uwsgi spawn a single process with no thread. This is very small (especially if the bus is activated because it will lock the process).
But we can not presume the available resource of the machine, so it is difficult to set good default values.
Fortunately, uwsgi has an option for adaptive process spawning [1]. So I propose to activate cheaper=1 with processes=8 and threads=8. Those numbers are not random, they come from the max limit (64) of the postgresql pool of connections.
Also I checked that those values can be reset with arguments. For example:
* no cheaper: --cheaper=0
* no threads: --threads=0
[1] https://uwsgi-docs.readthedocs.io/en/latest/Cheaper.html