StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Utilities
  3. Background Jobs
  4. Message Queue
  5. Google Cloud Messaging vs RabbitMQ

Google Cloud Messaging vs RabbitMQ

OverviewDecisionsComparisonAlternatives

Overview

RabbitMQ
RabbitMQ
Stacks21.8K
Followers18.9K
Votes558
GitHub Stars13.2K
Forks4.0K
Google Cloud Messaging
Google Cloud Messaging
Stacks88
Followers247
Votes22

Google Cloud Messaging vs RabbitMQ: What are the differences?

Introduction

In this markdown code, we will discuss the key differences between Google Cloud Messaging (GCM) and RabbitMQ, two popular messaging systems.

  1. Scalability: One key difference between GCM and RabbitMQ is scalability. GCM is a cloud-based messaging service offered by Google, which enables developers to send push notifications to mobile devices. It is designed to handle massive-scale messaging and can easily scale to accommodate a large number of devices. On the other hand, RabbitMQ is a message broker that follows the Advanced Message Queuing Protocol (AMQP). While RabbitMQ can also handle a high volume of messages, its scalability is limited by the hardware and resources available on the server where it is installed.

  2. Message Reliability: Another notable difference is the message reliability offered by GCM and RabbitMQ. GCM ensures reliable message delivery by using delivery receipts and implementing retries for failed deliveries. It also supports multicast messaging, allowing developers to send a single message to multiple devices. In contrast, RabbitMQ guarantees message delivery once it is acknowledged by the consumer. It offers different message delivery modes and acknowledges messages based on the desired level of reliability. It can be configured for at-most-once, at-least-once, or exactly-once message delivery.

  3. Supported Protocols: GCM primarily supports push notifications for Android devices by using the HTTP/2 protocol for message delivery. It also supports iOS devices, although the delivery mechanism is different. RabbitMQ, on the other hand, supports various protocols such as AMQP, MQTT, and STOMP. This flexibility allows developers to choose the protocol that best suits their requirements and integration needs.

  4. Functionality: GCM is primarily focused on delivering push notifications to mobile devices. It provides features such as device group messaging, topic messaging, and high-priority messages. RabbitMQ, on the other hand, is a general-purpose message broker that can be used for various messaging scenarios. It supports features like message routing, fanout exchanges, direct exchanges, and topic exchanges, making it suitable for a wide range of applications beyond push notifications.

  5. Cloud vs Self-hosted: GCM is a cloud-based service provided by Google, which means that developers do not need to worry about infrastructure management or server maintenance. It is highly available, reliable, and scalable out of the box. RabbitMQ, on the other hand, requires self-hosting and management. Developers need to set up and maintain RabbitMQ servers themselves, which can be time-consuming and resource-intensive.

  6. Community and Ecosystem: GCM has a strong community and ecosystem supported by Google. It offers comprehensive documentation, libraries, and client SDKs for various programming languages, making it easy for developers to integrate GCM into their applications. RabbitMQ also has a vibrant community and ecosystem but may have a slightly smaller user base compared to GCM. It provides extensive documentation, tutorials, and client libraries for different programming languages to facilitate integration.

In summary, GCM is a scalable cloud-based messaging service focused on push notifications for mobile devices, while RabbitMQ is a general-purpose message broker offering flexibility in protocols and functionality. GCM provides reliability and easy integration with the wide Google ecosystem, whereas RabbitMQ requires self-hosting and offers more customization options.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on RabbitMQ, Google Cloud Messaging

viradiya
viradiya

Apr 12, 2020

Needs adviceonAngularJSAngularJSASP.NET CoreASP.NET CoreMSSQLMSSQL

We are going to develop a microservices-based application. It consists of AngularJS, ASP.NET Core, and MSSQL.

We have 3 types of microservices. Emailservice, Filemanagementservice, Filevalidationservice

I am a beginner in microservices. But I have read about RabbitMQ, but come to know that there are Redis and Kafka also in the market. So, I want to know which is best.

933k views933k
Comments
André
André

Technology Manager at GS1 Portugal - Codipor

Jul 30, 2020

Needs adviceon.NET Core.NET Core

Hello dear developers, our company is starting a new project for a new Web App, and we are currently designing the Architecture (we will be using .NET Core). We want to embark on something new, so we are thinking about migrating from a monolithic perspective to a microservices perspective. We wish to containerize those microservices and make them independent from each other. Is it the best way for microservices to communicate with each other via ESB, or is there a new way of doing this? Maybe complementing with an API Gateway? Can you recommend something else different than the two tools I provided?

We want something good for Cost/Benefit; performance should be high too (but not the primary constraint).

Thank you very much in advance :)

461k views461k
Comments
mediafinger
mediafinger

Feb 13, 2019

ReviewonKafkaKafkaRabbitMQRabbitMQ

The question for which Message Queue to use mentioned "availability, distributed, scalability, and monitoring". I don't think that this excludes many options already. I does not sound like you would take advantage of Kafka's strengths (replayability, based on an even sourcing architecture). You could pick one of the AMQP options.

I would recommend the RabbitMQ message broker, which not only implements the AMQP standard 0.9.1 (it can support 1.x or other protocols as well) but has also several very useful extensions built in. It ticks the boxes you mentioned and on top you will get a very flexible system, that allows you to build the architecture, pick the options and trade-offs that suite your case best.

For more information about RabbitMQ, please have a look at the linked markdown I assembled. The second half explains many configuration options. It also contains links to managed hosting and to libraries (though it is missing Python's - which should be Puka, I assume).

159k views159k
Comments

Detailed Comparison

RabbitMQ
RabbitMQ
Google Cloud Messaging
Google Cloud Messaging

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

Google Cloud Messaging (GCM) is a free service that enables developers to send messages between servers and client apps. This includes downstream messages from servers to client apps, and upstream messages from client apps to servers.

Robust messaging for applications;Easy to use;Runs on all major operating systems;Supports a huge number of developer platforms;Open source and commercially supported
Versatile Messaging Targets: Distribute messages to your client app in any of three ways — to single devices, to groups of devices, or to devices subscribed to topics.; Downstream Messaging: For purposes such as alerting users, chat messaging or kicking off background processing before the user opens the client app, GCM provides a reliable and battery-efficient connection between your server and devices.; Upstream Messaging: Send acknowledgments, chats, and other messages from devices back to your server over GCM’s reliable and battery-efficient connection channel.;
Statistics
GitHub Stars
13.2K
GitHub Stars
-
GitHub Forks
4.0K
GitHub Forks
-
Stacks
21.8K
Stacks
88
Followers
18.9K
Followers
247
Votes
558
Votes
22
Pros & Cons
Pros
  • 235
    It's fast and it works with good metrics/monitoring
  • 80
    Ease of configuration
  • 60
    I like the admin interface
  • 52
    Easy to set-up and start with
  • 22
    Durable
Cons
  • 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
Pros
  • 9
    Free
  • 6
    Scalable
  • 4
    Easy setup
  • 2
    Easy iOS setup
  • 1
    IOS Support
Cons
  • 1
    Reliability

What are some alternatives to RabbitMQ, Google Cloud Messaging?

Kafka

Kafka

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

Celery

Celery

Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.

Amazon SQS

Amazon SQS

Transmit any volume of data, at any level of throughput, without losing messages or requiring other services to be always available. With SQS, you can offload the administrative burden of operating and scaling a highly available messaging cluster, while paying a low price for only what you use.

NSQ

NSQ

NSQ is a realtime distributed messaging platform designed to operate at scale, handling billions of messages per day. It promotes distributed and decentralized topologies without single points of failure, enabling fault tolerance and high availability coupled with a reliable message delivery guarantee. See features & guarantees.

OneSignal

OneSignal

OneSignal is a high volume push notification service for websites and mobile applications. OneSignal supports all major native and mobile platforms by providing dedicated SDKs for each platform, a RESTful server API, and a dashboard.

ActiveMQ

ActiveMQ

Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes with easy to use Enterprise Integration Patterns and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. Apache ActiveMQ is released under the Apache 2.0 License.

ZeroMQ

ZeroMQ

The 0MQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. 0MQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more.

Apache NiFi

Apache NiFi

An easy to use, powerful, and reliable system to process and distribute data. It supports powerful and scalable directed graphs of data routing, transformation, and system mediation logic.

Gearman

Gearman

Gearman allows you to do work in parallel, to load balance processing, and to call functions between languages. It can be used in a variety of applications, from high-availability web sites to the transport of database replication events.

Memphis

Memphis

Highly scalable and effortless data streaming platform. Made to enable developers and data teams to collaborate and build real-time and streaming apps fast.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase