Watch Notification Pattern

There is an external configuration server which contains configuration details of services. Now whenever there is a change in any configuration the services need to be actively listening for configuration changes, This creates an always on connection consuming resources where not necessarily required. Or a broker is required to continuously publish the changes to different services making the overall infrastructure heavy. Problem : Notify services whenever configuration value changes Solution : Watch notification pattern. A broker less approach to publish changes across services Prelude to watch notification service : Before we divulge into the watch notification pattern lets have a look at attempts already done to solve the problem of notifying services Service Broadcast Pattern Actors: 1. A group of services 2. External config server 3. A broker Concept : All services are subscribed to a broker. The external configuration service publishes a ch...