Alternatives to Google Cloud Pub/Sub logo

Alternatives to Google Cloud Pub/Sub

Kafka, RabbitMQ, Firebase, Socket.IO, and Pusher are the most popular alternatives and competitors to Google Cloud Pub/Sub.
372
312
+ 1
4

What is Google Cloud Pub/Sub and what are its top alternatives?

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.
Google Cloud Pub/Sub is a tool in the Realtime Backend / API category of a tech stack.

Top Alternatives to Google Cloud Pub/Sub

  • Kafka

    Kafka

    Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design. ...

  • RabbitMQ

    RabbitMQ

    RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received. ...

  • Firebase

    Firebase

    Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds. ...

  • Socket.IO

    Socket.IO

    It enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed. ...

  • Pusher

    Pusher

    Pusher is the category leader in delightful APIs for app developers building communication and collaboration features. ...

  • SignalR

    SignalR

    SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available. SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers. SignalR includes APIs for connection management (for instance, connect and disconnect events), grouping connections, and authorization. ...

  • NATS

    NATS

    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. ...

  • PubNub

    PubNub

    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 alternatives & related posts

Kafka logo

Kafka

13.9K
13K
557
Distributed, fault tolerant, high throughput pub-sub messaging system
13.9K
13K
+ 1
557
PROS OF KAFKA
  • 119
    High-throughput
  • 113
    Distributed
  • 85
    Scalable
  • 78
    High-Performance
  • 64
    Durable
  • 35
    Publish-Subscribe
  • 17
    Simple-to-use
  • 14
    Open source
  • 10
    Written in Scala and java. Runs on JVM
  • 6
    Message broker + Streaming system
  • 4
    Avro schema integration
  • 2
    Suport Multiple clients
  • 2
    Robust
  • 2
    KSQL
  • 2
    Partioned, replayable log
  • 1
    Fun
  • 1
    Extremely good parallelism constructs
  • 1
    Simple publisher / multi-subscriber model
  • 1
    Flexible
CONS OF KAFKA
  • 27
    Non-Java clients are second-class citizens
  • 26
    Needs Zookeeper
  • 7
    Operational difficulties
  • 2
    Terrible Packaging

related Kafka posts

Eric Colson
Chief Algorithms Officer at Stitch Fix · | 21 upvotes · 1.8M views

The algorithms and data infrastructure at Stitch Fix is housed in #AWS. Data acquisition is split between events flowing through Kafka, and periodic snapshots of PostgreSQL DBs. We store data in an Amazon S3 based data warehouse. Apache Spark on Yarn is our tool of choice for data movement and #ETL. Because our storage layer (s3) is decoupled from our processing layer, we are able to scale our compute environment very elastically. We have several semi-permanent, autoscaling Yarn clusters running to serve our data processing needs. While the bulk of our compute infrastructure is dedicated to algorithmic processing, we also implemented Presto for adhoc queries and dashboards.

Beyond data movement and ETL, most #ML centric jobs (e.g. model training and execution) run in a similarly elastic environment as containers running Python and R code on Amazon EC2 Container Service clusters. The execution of batch jobs on top of ECS is managed by Flotilla, a service we built in house and open sourced (see https://github.com/stitchfix/flotilla-os).

At Stitch Fix, algorithmic integrations are pervasive across the business. We have dozens of data products actively integrated systems. That requires serving layer that is robust, agile, flexible, and allows for self-service. Models produced on Flotilla are packaged for deployment in production using Khan, another framework we've developed internally. Khan provides our data scientists the ability to quickly productionize those models they've developed with open source frameworks in Python 3 (e.g. PyTorch, sklearn), by automatically packaging them as Docker containers and deploying to Amazon ECS. This provides our data scientist a one-click method of getting from their algorithms to production. We then integrate those deployments into a service mesh, which allows us to A/B test various implementations in our product.

For more info:

#DataScience #DataStack #Data

See more
John Kodumal

As we've evolved or added additional infrastructure to our stack, we've biased towards managed services. Most new backing stores are Amazon RDS instances now. We do use self-managed PostgreSQL with TimescaleDB for time-series data—this is made HA with the use of Patroni and Consul.

We also use managed Amazon ElastiCache instances instead of spinning up Amazon EC2 instances to run Redis workloads, as well as shifting to Amazon Kinesis instead of Kafka.

See more
RabbitMQ logo

RabbitMQ

13.3K
11.4K
510
Open source multiprotocol messaging broker
13.3K
11.4K
+ 1
510
PROS OF RABBITMQ
  • 225
    It's fast and it works with good metrics/monitoring
  • 79
    Ease of configuration
  • 57
    I like the admin interface
  • 49
    Easy to set-up and start with
  • 20
    Durable
  • 18
    Intuitive work through python
  • 18
    Standard protocols
  • 10
    Written primarily in Erlang
  • 7
    Simply superb
  • 6
    Completeness of messaging patterns
  • 3
    Reliable
  • 3
    Scales to 1 million messages per second
  • 2
    Distributed
  • 2
    Supports AMQP
  • 2
    Better than most traditional queue based message broker
  • 1
    High performance
  • 1
    Reliability
  • 1
    Clusterable
  • 1
    Inubit Integration
  • 1
    Clear documentation with different scripting language
  • 1
    Great ui
  • 1
    Runs on Open Telecom Platform
  • 1
    Better routing system
  • 1
    Supports MQTT
CONS OF RABBITMQ
  • 9
    Too complicated cluster/HA config and management
  • 6
    Needs Erlang runtime. Need ops good with Erlang runtime
  • 5
    Configuration must be done first, not by your code
  • 4
    Slow

related RabbitMQ posts

James Cunningham
Operations Engineer at Sentry · | 18 upvotes · 1.2M views
Shared insights
on
Celery
RabbitMQ
at

As Sentry runs throughout the day, there are about 50 different offline tasks that we execute—anything from “process this event, pretty please” to “send all of these cool people some emails.” There are some that we execute once a day and some that execute thousands per second.

Managing this variety requires a reliably high-throughput message-passing technology. We use Celery's RabbitMQ implementation, and we stumbled upon a great feature called Federation that allows us to partition our task queue across any number of RabbitMQ servers and gives us the confidence that, if any single server gets backlogged, others will pitch in and distribute some of the backlogged tasks to their consumers.

#MessageQueue

See more
Tim Abbott
Shared insights
on
RabbitMQ
Python
Redis
at

We've been using RabbitMQ as Zulip's queuing system since we needed a queuing system. What I like about it is that it scales really well and has good libraries for a wide range of platforms, including our own Python. So aside from getting it running, we've had to put basically 0 effort into making it scale for our needs.

However, there's several things that could be better about it: * It's error messages are absolutely terrible; if ever one of our users ends up getting an error with RabbitMQ (even for simple things like a misconfigured hostname), they always end up needing to get help from the Zulip team, because the errors logs are just inscrutable. As an open source project, we've handled this issue by really carefully scripting the installation to be a failure-proof configuration (in this case, setting the RabbitMQ hostname to 127.0.0.1, so that no user-controlled configuration can break it). But it was a real pain to get there and the process of determining we needed to do that caused a significant amount of pain to folks installing Zulip. * The pika library for Python takes a lot of time to startup a RabbitMQ connection; this means that Zulip server restarts are more disruptive than would be ideal. * It's annoying that you need to run the rabbitmqctl management commands as root.

But overall, I like that it has clean, clear semanstics and high scalability, and haven't been tempted to do the work to migrate to something like Redis (which has its own downsides).

See more
Firebase logo

Firebase

24.6K
20.6K
1.9K
The Realtime App Platform
24.6K
20.6K
+ 1
1.9K
PROS OF FIREBASE
  • 361
    Realtime backend made easy
  • 263
    Fast and responsive
  • 234
    Easy setup
  • 207
    Real-time
  • 186
    JSON
  • 127
    Free
  • 121
    Backed by google
  • 81
    Angular adaptor
  • 63
    Reliable
  • 36
    Great customer support
  • 26
    Great documentation
  • 23
    Real-time synchronization
  • 20
    Mobile friendly
  • 17
    Rapid prototyping
  • 12
    Great security
  • 11
    Automatic scaling
  • 10
    Freakingly awesome
  • 8
    Chat
  • 8
    Angularfire is an amazing addition!
  • 8
    Super fast development
  • 6
    Awesome next-gen backend
  • 6
    Ios adaptor
  • 5
    Built in user auth/oauth
  • 5
    Firebase hosting
  • 4
    Speed of light
  • 4
    Very easy to use
  • 3
    It's made development super fast
  • 3
    Great
  • 3
    Brilliant for startups
  • 2
    Great all-round functionality
  • 2
    Low battery consumption
  • 2
    I can quickly create static web apps with no backend
  • 2
    The concurrent updates create a great experience
  • 2
    JS Offline and Sync suport
  • 1
    Faster workflow
  • 1
    Large
  • 1
    Serverless
  • 1
    .net
  • 1
    Free SSL
  • 1
    Good Free Limits
  • 1
    Push notification
  • 1
    Easy to use
  • 1
    Easy Reactjs integration
CONS OF FIREBASE
  • 28
    Can become expensive
  • 15
    Scalability is not infinite
  • 14
    No open source, you depend on external company
  • 9
    Not Flexible Enough
  • 5
    Cant filter queries
  • 3
    Very unstable server
  • 2
    Too many errors
  • 2
    No Relational Data

related Firebase posts

Stephen Gheysens
Senior Solutions Engineer at Twilio · | 12 upvotes · 113.9K views

Hi Otensia! I'd definitely recommend using the skills you've already got and building with JavaScript is a smart way to go these days. Most platform services have JavaScript/Node SDKs or NPM packages, many serverless platforms support Node in case you need to write any backend logic, and JavaScript is incredibly popular - meaning it will be easy to hire for, should you ever need to.

My advice would be "don't reinvent the wheel". If you already have a skill set that will work well to solve the problem at hand, and you don't need it for any other projects, don't spend the time jumping into a new language. If you're looking for an excuse to learn something new, it would be better to invest that time in learning a new platform/tool that compliments your knowledge of JavaScript. For this project, I might recommend using Netlify, Vercel, or Google Firebase to quickly and easily deploy your web app. If you need to add user authentication, there are great examples out there for Firebase Authentication, Auth0, or even Magic (a newcomer on the Auth scene, but very user friendly). All of these services work very well with a JavaScript-based application.

See more
Tassanai Singprom

This is my stack in Application & Data

JavaScript PHP HTML5 jQuery Redis Amazon EC2 Ubuntu Sass Vue.js Firebase Laravel Lumen Amazon RDS GraphQL MariaDB

My Utilities Tools

Google Analytics Postman Elasticsearch

My Devops Tools

Git GitHub GitLab npm Visual Studio Code Kibana Sentry BrowserStack

My Business Tools

Slack

See more
Socket.IO logo

Socket.IO

8.1K
6.7K
769
Realtime application framework (Node.JS server)
8.1K
6.7K
+ 1
769
PROS OF SOCKET.IO
  • 212
    Real-time
  • 141
    Event-based communication
  • 140
    Node.js
  • 102
    Open source
  • 101
    WebSockets
  • 26
    Binary streaming
  • 22
    No internet dependency
  • 9
    Fallback to polling if WebSockets not supported
  • 7
    Large community
  • 5
    Ease of access and setup
  • 4
    Push notification
CONS OF SOCKET.IO
  • 9
    Bad documentation
  • 4
    Githubs that complement it are mostly deprecated
  • 2
    Doesn't work on React Native
  • 2
    Small community

related Socket.IO posts

across_the_grid
Full-stack web developer at Capmo GmbH · | 10 upvotes · 323.5K views
Shared insights
on
Socket.IO
Node.js
ExpressJS

I use Socket.IO because the application has 2 frontend clients, which need to communicate in real-time. The backend-server handles the communication between these two clients via websockets. Socket.io is very easy to set up in Node.js and ExpressJS.

In the research project, the 1st client shows panoramic videos in a so called cave system (it is the VR setup of our research lab, which consists of three big screens, which are specially arranged, so the user experience the videos more immersive), the 2nd client controls the videos/locations of the 1st client.

See more

We are starting to work on a web-based platform aiming to connect artists (clients) and professional freelancers (service providers). In-app, timeline-based, real-time communication between users (& storing it), file transfers, and push notifications are essential core features. We are considering using Node.js, ExpressJS, React, MongoDB stack with Socket.IO & Apollo, or maybe using Real-Time Database and functionalities of Firebase.

See more
Pusher logo

Pusher

499
1.1K
228
Hosted APIs to build realtime apps with less code
499
1.1K
+ 1
228
PROS OF PUSHER
  • 51
    An easy way to give customers realtime features
  • 39
    Websockets
  • 35
    Simple
  • 27
    Easy to get started with
  • 24
    Free plan
  • 12
    Heroku Add-on
  • 11
    Easy and fast to configure and to understand
  • 9
    JSON
  • 6
    Azure Add-on
  • 5
    Support
  • 5
    Happy
  • 4
    Push notification
CONS OF PUSHER
  • 9
    Costly
  • 0
    Aa

related Pusher posts

Which messaging service (Pusher vs. PubNub vs. Google Cloud Pub/Sub) to use for IoT?

See more
Kirill Shirinkin
Cloud and DevOps Consultant at mkdev · | 3 upvotes · 210.6K views
Shared insights
on
Mattermost
Pusher
Twilio
at

Recently we finished long research on chat tool for our students and mentors. In the end we picked Mattermost Team Edition as the cheapest and most feature complete option. We did consider building everything from scratch and use something like Pusher or Twilio on a backend, but then we would have to implement all the desktop and mobile clients and all the features oursevles. Mattermost gave us flexible API, lots of built in or easy to install integrations and future-proof feature set. We are still integrating it with our main platform but so far the team, existing mentors and students are very happy.

See more
SignalR logo

SignalR

359
883
94
A new library for ASP.NET developers that makes developing real-time web functionality easy.
359
883
+ 1
94
PROS OF SIGNALR
  • 20
    Supports .NET server
  • 14
    Real-time
  • 12
    Free
  • 11
    Fallback to SSE, forever frame, long polling
  • 11
    WebSockets
  • 7
    Simple
  • 7
    JSON
  • 5
    Open source
  • 4
    Cool
  • 3
    Ease of use
CONS OF SIGNALR
  • 1
    Requires jQuery
  • 1
    Expertise hard to get
  • 1
    Weak iOS and Android support

related SignalR posts

NATS logo

NATS

216
327
50
Lightweight publish-subscribe & distributed queueing messaging system
216
327
+ 1
50
PROS OF NATS
  • 20
    Fastest pub-sub system out there
  • 14
    Rock solid
  • 10
    Easy to grasp
  • 3
    Easy, Fast, Secure
  • 2
    Light-weight
  • 1
    Robust Security Model
CONS OF NATS
  • 1
    Persistence with Jetstream supported
  • 1
    No Order
  • 1
    No Persistence

related NATS posts

PubNub logo

PubNub

171
379
228
Build real-time apps quickly and scale them globally.
171
379
+ 1
228
PROS OF PUBNUB
  • 33
    Massively scalable & easy to use
  • 24
    Easy setup
  • 18
    Great support
  • 18
    Reliable
  • 14
    Flexible to integrate to custom applications
  • 13
    High-Performance
  • 12
    99.999% availability guarantees
  • 12
    Sockets at Scale
  • 12
    Multiplexing
  • 11
    High-Reliability
  • 7
    Scalability
  • 5
    High-Availability
  • 5
    70+ SDKs
  • 4
    Azure Add-on
  • 4
    Security
  • 3
    Presence
  • 3
    Heroku Add-on
  • 3
    Flexible
  • 3
    Easy to setup
  • 2
    Data Sync
  • 2
    AngularJS Adapter
  • 2
    PhoneGap Plugin
  • 2
    Server-Side Cache
  • 2
    Free Plan
  • 2
    Support
  • 2
    Analytics
  • 2
    Data Streams
  • 1
    Easy setup and very reliable
  • 1
    Real time and easy to use.
  • 1
    High cost, going up more in Summer '15
  • 1
    Cool
  • 1
    CTO stephen also is A++++++
  • 1
    Angular 2+ integration
  • 1
    Documentation, easy to use, great people/service
  • 1
    Easy integration with iOS apps
CONS OF PUBNUB
    Be the first to leave a con

    related PubNub posts

    Which messaging service (Pusher vs. PubNub vs. Google Cloud Pub/Sub) to use for IoT?

    See more
    Shared insights
    on
    PubNub
    Socket.IO

    I am trying to replace Socket.IO with PubNub. Provide the way to do it.

    See more