Publish-Subscribe
A messaging pattern where senders (publishers) send messages without knowing the receivers (subscribers). Decouples components through a message broker.
Publish-Subscribe: Decouple Producers from Consumers
Publishers emit to topics; subscribers receive; neither knows the other.
Pub-Sub in Production: Kafka, RabbitMQ, and Delivery Guarantees
Broker architectures, partitions, offsets, and the delivery semantics you must choose.
Advanced Pub-Sub: Exactly-Once and Stream Processing
Transactional messaging, idempotent consumers, and stream joins.
Publish-Subscribe: Review & Mastery Quiz
Scenario questions on decoupling, brokers, and guarantees.
Free Books & Guides
Refactoring.Guru — Publish-Subscribe
The definitive modern guide to the Publish-Subscribe pattern. Clear explanations, UML diagrams, real-world analogies, and code examples in multiple languages.
SourceMaking — Publish-Subscribe
A comprehensive companion guide covering the Publish-Subscribe pattern with detailed rules of thumb, criticisms, and robust code snippets.
GoF Design Patterns — Publish-Subscribe
The original Gang of Four book describing the pattern. Available in the "Design Patterns: Elements of Reusable Object-Oriented Software" on Wikipedia.
Official Documentation
Refactoring.Guru — Publish-Subscribe
The definitive modern guide to the Publish-Subscribe pattern. Clear explanations, UML diagrams, real-world analogies, and code examples in multiple languages.
Wikipedia — Publish-Subscribe Pattern
Wikipedia article explaining the Publish-Subscribe pattern with examples and history.
Video Courses
freeCodeCamp — Design Patterns Course
A comprehensive multi-hour video course covering all major design patterns with implementations in JavaScript and TypeScript.
Design Patterns in Modern JavaScript Playlist
YouTube playlist covering creational, structural, and behavioral patterns with clear code walkthroughs.
Web Dev Simplified — Publish-Subscribe
Clear, concise video tutorials covering design patterns with practical examples.
Practice & Examples
Awesome Low-Level Design (GitHub)
A curated collection of free LLD resources, pattern implementations, and interview problems across multiple languages.
Design Patterns Implementation (GitHub)
The most popular open-source collection of design pattern implementations with detailed explanations.
Refactoring.Guru Examples in Publish-Subscribe
Code examples of the Publish-Subscribe pattern in TypeScript, Python, Java, and more.

