Saturday, July 09, 2005

Notification without Flood

Problem: Users want instant notification without notification flooding.

Examples: Send a text message when an unhandled exception is thrown, but only 1 per day. When a new loan request form is submitted send an email, unless an email was sent in the past hour.

Solution: Store the datetime of the last sent notification and check it before sending a new notification.

This simple solution is often forgotten and replaced by a service that polls solution. I like Notification without Flood much more because you can use the existing application without requiring creation of a service.

1 comment:

  1. Anonymous11:28 AM

    I wasn't suggesting this solution as an alternative to logging. However, it can be a great addition to logging.

    Additionally, this solution shouldn't be viewed as simply another way of error reporting.

    The solution solves the problem of sending notifications without sending too many. In examples the second example shown is an actual requirement from a previous project.


Note: Only a member of this blog may post a comment.