Need advice about which tool to choose?Ask the StackShare community!
Google Cloud Pub/Sub vs NATS: What are the differences?
Google Cloud Pub/Sub: 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; NATS: Lightweight publish-subscribe & distributed queueing messaging system. Unlike traditional enterprise messaging systems, NATS has an always-on dial tone that does whatever it takes to remain available. This forms a great base for building modern, reliable, and scalable cloud and distributed systems.
Google Cloud Pub/Sub and NATS 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 73 company stacks & 17 developers stacks; compared to NATS, which is listed in 27 company stacks and 11 developer stacks.
Pros of Google Cloud Pub/Sub
- Easy to set-up and start with9
- Https://github.com/googleapis/nodejs-pubsub4
- FYI it has a github repo. please add it2
- A great choice for microservice architecture2
- Efficient and practical for complex systems2
Pros of NATS
- Fastest pub-sub system out there21
- Rock solid15
- Easy to grasp10
- Light-weight3
- Easy, Fast, Secure3
- Robust Security Model1
Sign up to add or upvote prosMake informed product decisions
Cons of Google Cloud Pub/Sub
- Need integration with stackdriver for monitoring2
Cons of NATS
- No Order1
- Persistence with Jetstream supported1
- No Persistence1