There are different ways to send and receive information between processes:
- Point-to-point communication
- One-to-all and all-to-one
- All-to-all
In this section, we will introduce point-to-point, one-to-all, and all-to-one communication.
Speaking to a neighbor and letting information pass along a street this way is an example from daily life of the first communication type from the preceding list, while the second can be illustrated by the daily news, spoken by one person and broadcast to a big group of listeners.One-to-all and all-to-one communication
Figure 18.2: Point-to-point communication and one-to-all communication
In the next subsections, we will study these different communication types in a computational context.