hopeit.engine 0.17.0
Version 0.17.0
-
Engine:
Significant performance improvements by executing
hopeit_server
usinggunicorn
in a multicore environment.-
hopeit_server
command have new--workers
and--worker-class
params:- Setting
--workers=2
allows to starthopeit.engine
with 2 engine workers to respond
requests from the same port. This feature was implemented withgunicorn
.
Default value is--workers=1
. Max number of workers is (cpu_count * 2) + 1. - To set
--worker-class
there are two possible options:GunicornWebWorker
,GunicornUVLoopWebWorker
.
Refer toaiohttp <https://docs.aiohttp.org/en/stable/deployment.html#start-gunicorn>
_ docs for more details.
Default value is--worker-class=GunicornWebWorker
- Setting
-