Synchronization problem (Producer Consumer Problem)
1. Scenario
This example is to illustrate Synchronization problem i.e. Producer Consumer model which is commonly known as Sender Receiver Problem.
In Data tranmission, sender sends data to receiver. In these situations we normally get into synchronization problems where sender capacity rate in not in sync with the receiver sync rate.
Assumptions made in this example :
Sender capacity : 2 mangoes per second
Receiver capacity : 1 mango per second
If A transfers 8 mangoes to B. In this case, B has received only four. And remaining four are wasted.
Asynchronisation leads to these kinds of problems where in data could be lost.
2. Screenshots
3. Example Demo
4. References