Publish: rate limit / missing data

Hi @Nemiah

The rate limits for publishing events are such that you must average less than one per second, but a burst of up to four is allowed as long as your average remains less than one per second. This is out of fairness to all users of the service.

When you hit the limit, the publishes just don’t go through. They can be blocked at your device by system firmware or in the cloud.

I would advise you to gather your events into a packed format so that one published event can contain many of your events. JSON is a good format to consider but there are many other ways to do it. If you sometimes need to burst faster then that is available but you need to either slow down later or deal with the consequences of dropped publishes.

2 Likes