WSO2 Data Analytics Server is succeeded by WSO2 Stream Processor. To view the latest documentation for WSO2 SP, see WSO2 Stream Processor Documentation.

All docs This doc
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
||
Skip to end of metadata
Go to start of metadata

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.

PropertyDescription
-DprofilePersistenceTo 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 -DpersistenceStatsCutoff=1000, the TPS is printed in the logs for every 1000 events processed by WSO2 DAS.

If this property is not configured when -DprofilePersistence property is set to true, the TPS is printed for every 100000 events.


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


  • No labels