Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

publish/subscribe

A messaging pattern where senders publish to a topic and anyone subscribed to it gets a copy, without the two knowing each other.

In publish/subscribe, publishers send messages to named topics on a broker and the broker delivers a copy to every client whose subscription matches, decoupling senders from receivers in space and number.

Examples

  • The sensor publishes its reading under gh/bench1/temp, and a phone app that subscribed to that name gets a copy without knowing the sensor.

  • Adding a fourth program that wants readings is one new subscription, not a new connection to every sensor.

Read the full section →