This section explains how to measure the performance of WSO2 DAS by configuring properties to calculate the TPS (Throughput Per Second) at a specified frequency.
To enable the WSO2 DAS to print the TPS in the CLI logs, configure the following properties when you start the DAS server.
|To enable WSO2 DAS to print the TPS in the CLI logs, this property should be set to |
This parameter specifies the number of events for which the TPS should be printed in the CLI logs.
If this property is not configured when
You can enable WSO2 DAS to print TPS for every 1000 events as follows:
- On Windows:
wso2server.bat --run -DprofilePersistence=true -DpersistenceStatsCutoff=1000
On Linux/Mac OS:
sh wso2server.sh -DprofilePersistence=true -DpersistenceStatsCutoff=1000