We've noticed an unexpected behaviour in the timing of Chrome alarms. Our extension uses an alarm to upload data to a server every 5 minutes. From reading the API documentation, it looks like it should trigger roughly every 5 minutes from when the alarm was created, or from when the extension last started, meaning the actual trigger times should generally vary from one device to the next.
However, it actually seems to tend towards 5 minute intervals according to the system clock. For example, it generally ends up triggering at about 1pm, 1.05pm, 1.10pm, and so on.
Is this intentional behaviour, and is there any way to prevent it from falling into that pattern?
This is causing us some issues at scale because it means our server is receiving a sudden spike of traffic every 5 minutes. The spike is short but very high. If we could prevent the alarm from falling into that pattern then the traffic would be more spread out.