Firebase vs PubNub vs Socket.IO

Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Firebase
Firebase

8.4K
6.3K
+ 1
1.7K
PubNub
PubNub

129
152
+ 1
227
Socket.IO
Socket.IO

3.7K
2.5K
+ 1
684
- No public GitHub repository available -
- No public GitHub repository available -

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

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

What is Socket.IO?

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

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Firebase?
Why do developers choose PubNub?
Why do developers choose Socket.IO?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con

    Sign up to add, upvote and see more consMake informed product decisions

    What companies use Firebase?
    What companies use PubNub?
    What companies use Socket.IO?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Firebase?
    What tools integrate with PubNub?
    What tools integrate with Socket.IO?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Firebase, PubNub, and Socket.IO?
    MongoDB
    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
    Parse
    With Parse, you can add a scalable and powerful backend in minutes and launch a full-featured app in record time without ever worrying about server management. We offer push notifications, social integration, data storage, and the ability to add rich custom logic to your app’s backend with Cloud Code.
    Heroku
    Heroku is a cloud application platform – a new way of building and deploying web apps. Heroku lets app developers spend 100% of their time on their application code, not managing servers, deployment, ongoing operations, or scaling.
    Auth0
    A set of unified APIs and tools that instantly enables Single Sign On and user management to all your applications.
    Realm
    The Realm Mobile Platform is a next-generation data layer for applications. Realm is reactive, concurrent, and lightweight, allowing you to work with live, native objects.
    See all alternatives
    Decisions about Firebase, PubNub, and Socket.IO
    Tomáš Pustelník
    Tomáš Pustelník
    Firebase
    Firebase

    We use Firebase at work (and I use it for my personal projects) for several reasons:

    1) it is not just real-time DB with subscriptions but a lot more (storage for files, push notifications for mobile, cloud functions etc.) so it allows to build quite a robust solutions, but still possible to use just a minimal set of what you need

    2) In most cases it's pretty cheap (unless you messed up you DB structure, reads/writes etc. - could be problem for a lot of traffic - so in such a case ready pricing and related guides properly), for side projects basically free.

    3) offers free hosting with SSL certificates for static files

    4) you can bootstrap functional prototype really quick and for the production, you do not need to worry about scaling.

    See more
    PubNub
    PubNub
    Unity
    Unity

    I recently used PubNub to implement a realtime leaderboard into my Unity game. It was easy and straight forward to get up and running. I choose Pubnub because they had a Unity SDK and an example project which showed me how to use it. I downloaded the example project and tweaked it to fit my game.

    In their documentation I found good information about what I needed to know. Also, their support is very helpful when you have questions.

    See more
    PubNub
    PubNub

    I used PubNub because we needed a real time server for our product. Even though we selected a fixed amount paid version, the amount they charged was incredibly high, 8x of the fixed amount. We could not understand how did they do the calculation and there is no easy way of understanding it. Regarding to the analytics they have, we spent millions of messages with few hundred active users.

    Then for the second month we tried to change our architecture to decrease the messages but nothing changed. Then we wanted to get some support from them. We arranged a meeting and the person who joined the meeting didn't even have permissions to see our usage, so it was waste of time. Then they arranged another meeting WEEKS after which didn't solve anything either. As a result, we stopped using it and implemented our own simple pub-sub server.

    S