Point-to-point
A messaging model where each message goes from 1 sender to 1 single receiver.
Example
In a queue with 5 consumers, each message is processed by just 1 of the 5.
Test yourself: Point-to-point
Message brokers
A payment must be charged exactly 1 time, even with 5 charging servers. Which model do you use?
In a point-to-point queue, only 1 of the 5 servers takes the message: the payment is charged 1 time. With pub/sub, all 5 would get it and it'd be charged 5 times.
0/1
â–¶ Play