Skip to main content
Skip table of contents

Rate limiting

Rate limiting is a technique to limit network traffic to prevent users from exhausting system resources. In this case, you can use it to prevent on-premise primary server(s) resource depletion by too many connected gateways or SAFEQ Cloud clients.

By default, rate limiting is disabled.

To configure rate limiting, edit the operation section of the application.conf config file located at /opt/safeqcloud/conf/application.conf.

The rate limiting uses a fixed window algorithm.

 channel-server {

You must set both of the following settings:

  • connection-throttling-window-in-seconds – sets throttling window size in seconds.
  • allowed-connections-per-window – sets the amount of allowed connections per throttling window.

An example of setting the limit to 50 connections per 1 second:

  channel-server {

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.