Increase the Synthetic Agent Support

By default, the machine hosting the Synthetic Server should be able to support 100 concurrent Synthetic Agents. To support more than 100 concurrent Synthetic Agents, modify the throttle configuring for the Synthetic Shepherd and Synthetic Scheduler. The default maximum number of requests per second is 60. By increasing the maximum number of requests per second, the Synthetic Server can support more Synthetic Agents.

To increase the maximum number of requests per second that the Synthetic Server can receive:

  1. Log on to the machine hosting the Synthetic Server.
  2. Change to the root directory of the Synthetic Server home.
  3. Edit the file synthetic-processor/conf/synthetic-shepherd.yml and increase the value for the property maxRequestsPerSecondOverall. In this example configuration, the value is increased to 80.
    throttleConfiguration:
    maxRequestsPerSecondOverall: 80
  4. Edit the file synthetic-processor/conf/synthetic-scheduler.yml and increase the value for the property maxRequestsPerSecondOverall. Again, in this example configuration, the value is increased to 80.
    throttleConfiguration:
    maxRequestsPerSecondOverall: 80
  5. Restart the Synthetic Server:
    unix/deploy.sh stop
    unix/deploy.sh start
  6. You can verify that the settings have been updated by checking the logs for the Synthetic Server you changed:
    cat logs/scheduler/synthetic-scheduler.log | grep -oP -- "maxRequestsPerSecondOverall=\d+"
    cat logs/shepherd/synthetic-shepherd.log | grep -oP -- "maxRequestsPerSecondOverall=\d+"
  7. You should also check the health of the Synthetic Server.