S
processes = 9это верно или надо как-то делить процы между сайтами?
threads = 2
Size: a a a
S
processes = 9это верно или надо как-то делить процы между сайтами?
threads = 2
A
R
import asyncio
async def InsertToDB():
# to do here
return
A
import asyncio
async def InsertToDB():
# to do here
return
A
processes = 9это верно или надо как-то делить процы между сайтами?
threads = 2
There is no magic rule for setting the number of processes or threads to use. It is very much application and system dependent. Simple math like processes = 2 * cpucores will not be enough. You need to experiment with various setups and be prepared to constantly monitor your apps. uwsgitop could be a great tool to find the best values.
S
There is no magic rule for setting the number of processes or threads to use. It is very much application and system dependent. Simple math like processes = 2 * cpucores will not be enough. You need to experiment with various setups and be prepared to constantly monitor your apps. uwsgitop could be a great tool to find the best values.
A
J
DT
J
DT
DT
J
DT
J
S
АА
АА
S
S