Unique notifications in a period of time (prevent duplicated notifications)

Sometimes an event can be triggered very frequently. However you want to send a notification to the user only once in a period of time: for example you may want to notify the event with at most one notification every hour (or day, etc.). Continue reading “Unique notifications in a period of time (prevent duplicated notifications)”

How to throttle notifications to user (and reduce cost)

Some kinds of applications, such as chats, may create a lot of push notifications in a small amount of time. Sometimes you just want to notify every single message, but other times might be better to reduce the number of notifications. Continue reading “How to throttle notifications to user (and reduce cost)”

How to send single-user targeted notification with Web Push API

I would like to reply to an interesting question that has been posted on StackOverflow. I reply here because the original question has been deleted. Continue reading “How to send single-user targeted notification with Web Push API”