GitHub user dosubot[bot] added a comment to the discussion: How to determine the configuration specifications for deployment
<!-- Answer --> The default Docker configuration for Apache Superset sets resource limits at 512 CPU units and 1024 MiB of memory <sup>[[1]](https://github.com/apache/superset/blob/master/.github/workflows/ecs-task-definition.json)</sup>. However, the number of concurrent users it can handle depends on various factors, including the complexity of the queries and dashboards being used. To optimize performance for a larger number of concurrent users, you can configure Superset to run on a WSGI HTTP server using Gunicorn in async mode. A recommended configuration is: ```bash -w 10 \ -k gevent \ --worker-connections 1000 \ --timeout 120 \ -b 0.0.0.0:6666 \ --limit-request-line 0 \ --limit-request-field_size 0 \ --statsd-host localhost:8125 \ "superset.app:create_app()" ``` This setup is known to work well in production and enables impressive concurrency <sup>[[2]](https://github.com/apache/superset/blob/master/docs/docs/configuration/configuring-superset.mdx)</sup>. For production environments, it is recommended to start with hardware specifications of 8GB RAM and 2vCPUs for a moderately-sized instance, and then monitor resource usage to adjust as needed <sup>[[3]](https://github.com/apache/superset/blob/master/docs/docs/faq.mdx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/3a2ab822-a0e1-4a57-9e4f-beb393f57f49?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/3a2ab822-a0e1-4a57-9e4f-beb393f57f49?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/3a2ab822-a0e1-4a57-9e4f-beb393f57f49?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/3a2ab822-a0e1-4a57-9e4f-beb393f57f49?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/3a2ab822-a0e1-4a57-9e4f-beb393f57f49?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/3a2ab822-a0e1-4a57-9e4f-beb393f57f49?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/3a2ab822-a0e1-4a57-9e4f-beb393f57f49?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/33240#discussioncomment-12945650 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
