Measuring the DAS Performance
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.
Property | Description |
---|---|
-DprofilePersistence | To enable WSO2 DAS to print the TPS in the CLI logs, this property should be set to true . The TPS is calculated a printed for the number of events specified for the persistenceStatsCutoff property (described below). |
-DpersistenceStatsCutoff | This parameter specifies the number of events for which the TPS should be printed in the CLI logs. e.g., If If this property is not configured when |
Example
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