I would like to implement a RESTful API.
Some PUT requests, after updating an object should also generate a change notification to some subscribed users.
How should I implement that so that it doesn't send duplicate notifications?
How is this done?
I'm looking for design patterns, best practices, etc. not for code... How should I write this question in order not to be downvoted?
Possible solutions answers (not discussion)
- there are pro/cons in doing that
- use design pattern X,Y,Z: pro/cons
- use a different architecture, pros/cons
- look at examples somewhere