You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/08/29 15:43:23 UTC

[GitHub] [superset] dpgaspar commented on a diff in pull request #21236: feat(helm): Added env variable SERVER_WORKER_AMOUNT

dpgaspar commented on code in PR #21236:
URL: https://github.com/apache/superset/pull/21236#discussion_r957503001


##########
helm/superset/values.yaml:
##########
@@ -55,7 +55,9 @@ envFromSecrets: []
 extraEnv: {}
   # Extend timeout to allow long running queries.
   # GUNICORN_TIMEOUT: 300
-
+  # Increase the gunicorn worker amount, can improve performance drastically
+  # See: https://docs.gunicorn.org/en/stable/design.html#:~:text=Gunicorn%20should%20only%20need%204,workers%20to%20start%20off%20with.
+  # SERVER_WORKER_AMOUNT: 4

Review Comment:
   would be great if you could add the rest of the variables: `SERVER_THREADS_AMOUNT`, `GUNICORN_KEEPALIVE`, `WORKER_MAX_REQUESTS `, `WORKER_MAX_REQUESTS_JITTER`, `SERVER_LIMIT_REQUEST_LINE`, `SERVER_LIMIT_REQUEST_FIELD_SIZE`
   
   modify the link to just: https://docs.gunicorn.org/en/stable/design.html#how-many-workers
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org