What material do you understand the design pattern pub-sub?

Hello, trying to understand the design pattern pub-sub... tell me what articles you understood(it was after reading this material you will understand), because the gang of four this pattern is not present, Wikipedia is clearly not enough, any rabbitMQ, MQTT, and in General a complete mess
June 8th 19 at 17:03
1 answer
June 8th 19 at 17:05
To start, You should understand the Observer pattern described in the book of the gang of four. pub/sub is essentially the same Observer, the only difference is in the mechanism of the event bus. And after you do, just re-read the information on the bus in the pub/sub on Wikipedia and I think everything will fall into place.

Find more questions by tags Patterns of designing