So guys, now we will going to discuss the concept of notification chains.
So notification chains is all about notifying the subscribers about the events.
So now let us quickly discuss what notification chains are and how do they work.
So notification chain is an architectural concept and used to notify multiple subscribers interested
in a particular event.
Right.
So note that it is an architectural concept or you can say it is something that can be implemented in
any programming language.
In other words, it's a design pattern.
A party which generates an event is called a publisher.
And parties which are interested in being notified of the event are called subscribers.
Right.
So need not worry.
We will going to understand it with the help of an example.
There is always one publisher and multiple subscribers.
Shortly we will going to discuss what exactly publishers are and what exactly subscribers are and what
exactly these events are.
Right.
Once the event is generated or produced by the publisher.
Right.
So note that events is something which is generated or produced by the publisher.
The event is pushed to the subscribers which are interested in this event.
Right.
Subscribers can register and register for the event with the publisher at their will.
And publisher subscribers could be any entities.
They could be multiple threads of the same process.
They could be multiple processes running on the same system, or they could be multiple processes running
on different systems, or in fact they could be different components of the same big software system,
right?
So there is absolutely no constraint as to who can be publisher and who could be subscriber.
The publisher subscriber could be anything including thread process, running on the same system or
processes running on the different system or different components of the same big software system running
on the same machine right now.
Let us try to understand technically what publishers and subscribers and events are.
So basically notification chain is all about communication between publishers and multiple subscribers.
Notification chain is important because this is one of the most important and common communication pattern
which you will definitely come across when you will be working in the industry.
It is not uncommon to find this type of communication pattern between different entities and therefore
I have included it as a part of this course.
Now, in the next lecture video, we will going to have pictorial representation regarding how publishers,
subscribers and events are related to each other.