AI engineering glossary · Data engineering

What is publish-subscribe?

Publish-subscribe (also called Pub/Sub): A messaging pattern where senders publish messages to a topic without knowing who reads them, and every subscriber to that topic receives a copy. It decouples producers from consumers and allows new consumers to be added easily.

Level: intermediateTopic: Data engineering

Publish-subscribe: an example

A payment event is published once, and the notification, ledger and fraud services each subscribe and receive it.

Related terms

More Data engineering terms

Where you learn it

Publish-subscribe is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.