Need advice about which tool to choose?Ask the StackShare community!
Google Cloud Pub/Sub vs PubNub: What are the differences?
Developers describe Google Cloud Pub/Sub as "Global service for real-time and reliable messaging and streaming data". Cloud Pub/Sub is a fully-managed real-time messaging service that allows you to send and receive messages between independent applications. You can leverage Cloud Pub/Sub’s flexibility to decouple systems and components hosted on Google Cloud Platform or elsewhere on the Internet. On the other hand, PubNub is detailed as "Build real-time apps quickly and scale them globally". PubNub makes it easy for you to add real-time capabilities to your apps, without worrying about the infrastructure. Build apps that allow your users to engage in real-time across mobile, browser, desktop and server.
Google Cloud Pub/Sub and PubNub belong to "Realtime Backend / API" category of the tech stack.
According to the StackShare community, Google Cloud Pub/Sub has a broader approval, being mentioned in 75 company stacks & 17 developers stacks; compared to PubNub, which is listed in 43 company stacks and 12 developer stacks.
I am building an IoT application that will utilize connected air quality sensors to provide real-time indoor air quality in offices. I want to be able to share this data with a few different databases, etc.
Wondering if anyone has any advice on which real-time streaming API would be best for this sort of application, or even how I should think about it?
For IoT, we support MQTT along with websockets and SSE. The pattern you're suggesting that involves harvesting data from devices and soaking into a database is easy to achieve with one of the Ably integrations (Serverless functions/webhook) . Here are some tutorials to do things like this: https://ably.com/tutorials/reactor-event-zapier#step2-mqtt-ably
We use Pusher at www.justlearn.com. It works fine. When you reach more users, Pusher gets expensive. We use Pusher for live chat between users. Their software is easy to use. We have had issues with auth on Pusher.
Pros of Google Cloud Pub/Sub
- Easy to set-up and start with9
- A great choice for microservice architecture2
- Efficient and practical for complex systems2
Pros of PubNub
- Massively scalable & easy to use36
- Easy setup25
- Reliable20
- Great support19
- Flexible to integrate to custom applications14
- High-Performance13
- Sockets at Scale13
- 99.999% availability guarantees13
- High-Reliability12
- Multiplexing12
- Scalability7
- 70+ SDKs5
- High-Availability5
- Azure Add-on4
- Security4
- Heroku Add-on3
- Easy to setup3
- Flexible3
- Presence3
- Data Streams2
- Free Plan2
- Server-Side Cache2
- PhoneGap Plugin2
- AngularJS Adapter2
- Data Sync2
- Analytics2
- Support2
- Easy integration with iOS apps1
- Easy setup and very reliable1
- High cost, going up more in Summer '151
- Cool1
- Angular 2+ integration1
- Documentation, easy to use, great people/service1
- CTO stephen also is A++++++1
- Real time and easy to use.1
- Cdsd1
Sign up to add or upvote prosMake informed product decisions
Cons of Google Cloud Pub/Sub
- Need integration with stackdriver for monitoring2
Cons of PubNub
- Costly1