Rate Limiting
Last updated
Last updated
If messages, such as push notifications, are sent too rapidly, a sudden surge of traffic on the client’s server can occur, potentially leading to service outages. FlareLane's Rate Limiting feature provides an optimized speed control feature to prevent such situations and ensure smooth message delivery.
Dispatch speed control can be configured on a per-project basis. Within the FlareLane console, you can choose between two options on the project page:
No limit: No restrictions are applied to the notification dispatch speed.
Set the speed limit for sending messages: You can specify the number of messages to be sent per minute.
The configured messages per minute are converted to messages per second for more stable dispatching. For example, if 1,019 messages are set to be sent per minute, it is converted to 16 messages per second by rounding down to the nearest whole number. The conversion method is as follows:
In practice, FlareLane sends 16 messages per second, totaling 960 messages per minute.
In summary, messages are sent per second at a steady rate, allowing clients to maximize the use of their server resources.