Slow UI Performance?
ClusterControl consists of several components. We have an Apache server where the web client is served from, the web client in turn is fetching data and performs operations using two REST based APIs which operates on a MySQL server and also on the Controller/CMON Process (RPC port 9500).
In order to track where a potential bottleneck might be in the front-end we need to see how much time is spent where:
- Response time from the web client to the Apache server
- Response time from the Apache server to the CMONAPI/CMON process (RPC)
- SQL query performance from the Apache server to the MySQL server
Enable Response Time Tracking
Available from build: clustercontrol-1.2.9-136 and clustercontrol-cmonapi-1.2.9-31.
You need to enable this for both the web client and the REST/CMONAPI.
Enable it by adding:
# Track CMONAPI/CMON RPC calls
# Track SQL query performance
(Assuming the web root directory is /var/www/html)
Log files and Web console output
The following log files are then created:
# Response times from the Apache server to the CMONAPI/CMON RPC
# SQL query performance from the Apache server to the MySQL server
In your browser's web console we're logging the response time from the Web client to the Apache server.
FireFox: Tools -> Web Console
Please provide the log files and the output of the web console when contacting Severalnines's support if you have UI performance issues.