Skip to content

Cheroot

Cheroot is an alternative to Gunicorn. It is a high-performance, pure-Python HTTP server used by CherryPy.

To use Cheroot, it needs to be installed in the virtual-environments of the appropriate component it is being used for. It would be useful for the components that host WSGI Applications like:

  • Web Application Server
  • API Server

Installation

# For the Web Application Server:
INSTALL_DIR/venv-app/bin/pip install cheroot

# For the API Server:
INSTALL_DIR/venv-api/bin/pip install cheroot

Configurations

Once installed, the WSGI_SERVER option can be set in api_config.py and app_config.py files to use Cheroot as the wsgi server.

Cheroot would then be used when the Corridor-app and Corridor-api processes are started.