Glossary term
What is Pub/Sub (Publish/Subscribe)?
Pub/Sub stands for Publish/Subscribe.
In System Design
One message delivered to every subscriber. Example: "Order placed" → email, warehouse and analytics all get it.
Learn it properly · System DesignLesson 35: Queues vs Pub/Sub“One of you handles this” or “all of you get a copy”? Mix them up and orders go unpacked, or customers get five emails. Queues vs pub/sub, how real systems combine both, push vs pull, per-key ordering, and delete vs keep.In Networking for Developers
A pattern where publishers send messages to a named channel and every subscriber of that channel receives them.
Learn it properly · Networking for DevelopersLesson 7: WebSockets, Server-Sent Events and Real-Time NetworkingPolling versus long polling, WebSockets, SSE, scaling real-time connections, and a working example of each.