Update high-scale documentation

Add api-workers suggested configuration

Change-Id: I1855792fad3b9ba2818fc6a04ed3f26381b722d3
This commit is contained in:
Idan Hefetz 2018-10-09 08:59:38 +00:00
parent 71a49735b0
commit 5ca6e9726b

View File

@ -39,6 +39,18 @@ The following should be set in ``/etc/vitrage/vitrage.conf``, under ``[evaluator
| workers | Number of workers for template evaluator | number of cores | 1 |
+----------------------+---------------------------------------------------------+-----------------+-----------------+
The default api workers count is 1.
Increasing it will reduce the latency of parallel api calls, but will result in higher memory consumption.
If the graph contains large amounts of entities, reducing this will reduce the memory consumption dramatically.
The following should be set in ``/etc/vitrage/vitrage.conf``, under ``[api]`` section:
+----------------------+---------------------------------------------------------+-----------------+-----------------+
| Name | Description | Default Value | Suggested Value |
+======================+=========================================================+=================+=================+
| workers | Number of workers for api handler | 1 | 1 |
+----------------------+---------------------------------------------------------+-----------------+-----------------+
To apply, run ``sudo service vitrage-graph restart``