Search code examples
webservergunicornapache-superset

Apache Superset Default Web Server


I have installed Apache Superset in My Machine. I want to know what is default Web server Apache Superset is Used as I did not write any additional code to use Gunicorn/ Nginx/Apache. Please help me as I am new in Apache Superset. I have installed Apache Superset based on Installation Manual.

I want to know which Web Server is used for Apache Superset


Solution

  • Apache Superset's superset run actually runs Flask's very simple built-in development server, which is not designed for production environments. To run Apache Superset in a production environment, Superset recommends running Gunicorn in async mode. This is how Superset runs when deployed with docker-compose up - you'll see in the logs:

    superset_app          | [2023-08-09 13:08:16 +0000] [14] [INFO] Starting gunicorn 20.1.0
    superset_app          | [2023-08-09 13:08:16 +0000] [14] [INFO] Listening at: http://0.0.0.0:8088 (14)
    superset_app          | [2023-08-09 13:08:16 +0000] [14] [INFO] Using worker: gthread
    superset_app          | [2023-08-09 13:08:16 +0000] [16] [INFO] Booting worker with pid: 16
    

    Alternatively, you can use Nginx or similar, or run Apache Superset behind a load balancer.