🤖 Coding News ⚡️
26.9K subscribers
2 photos
1 video
808 links
High quality articles, videos, and tutorials about programming 💻

HTML, CSS, Sass, JavaScript, TypeScript, React, Angular, Electron, Node, Vue, GraphQL and other topics 💥

@CodingChat talk with other engineers
@CodingNewsFeedbackBot advertisement
Download Telegram
​​In the Publisher-Subscriber pattern, publishers publish messages without bothering about who receives it. Similarly, the subscribers can be blissfully unaware of publishers, just consuming messages from topics of interest to them. This pattern is quite commonly confused with other similar patterns like a message queue and observer pattern. However, in both of these, publisher (or producer) is aware of the subscriber (or consumers).

#Pattern #JavaScript #NodeJS #WebSocket