Skip to content

CherryPy builtin HTTP settings

hwassman edited this page Nov 13, 2023 · 2 revisions

IBM Storage Scale bridge for Grafana is using a CherryPy Server internally for the data exchange over HTTP/HTTPS. The mycherrypy.conf file is used to set the global attributes on the engine, server, request, response, and log objects.

[global]
server.socket_host = '0.0.0.0'
server.socket_timeout = 60            # increase timeout to 60s``
server.thread_pool = 10               # default number of worker threads to start up in the pool``
request.show_tracebacks = False
log.screen = False                    # turn off logging to console``
tools.encode.on = True
tools.encode.encoding = 'utf-8'

In some large environments the spawning multiple processes might help to increase the performance of the bridge. By default, CherryPy's builtin HTTP server will use a thread pool with 10 threads. If you are still using the defaults, you could try increasing this in the mycherrypy.conf file.

User Guide

Installation

Configuration

Maintenance

Troubleshooting

Use cases

Designing dashboards

Developer Guide

Clone this wiki locally