Publish/Subscribe (Pub/Sub)
PubNub operates on a publish/subscribe (pub/sub) paradigm, which consists of a few components:
- publisher
- subscriber
- message
- channel
- channel-group
As soon as data is uploaded (published), PubNub will immediately push out that data to anyone (or thing/device) that was interested in it (subscribers). Subscribers will continue to receive these data streams in realtime as more data is published.
Whether there’s one, a hundred, thousands, or millions of subscribers, a published message will be delivered to all subscribers of the channel in less than ¼ second.