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

Gun

20
78
+ 1
0
PubNub

185
433
+ 1
239
Add tool

Gun vs PubNub: What are the differences?

Gun: Self-hosted Firebase. GUN is a realtime, decentralized, embedded, graph database engine; PubNub: 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.

Gun and PubNub can be categorized as "Realtime Backend / API" tools.

Gun is an open source tool with 10.3K GitHub stars and 640 GitHub forks. Here's a link to Gun's open source repository on GitHub.

Advice on Gun and PubNub
Needs advice
on
AblyAblyPubNubPubNub
and
PusherPusher

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?

See more
Replies (2)
Ben Gamble
Recommends
AblyAbly

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

See more
Philip Rossen
Recommends
PusherPusher
at

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.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Gun
Pros of PubNub
  • 0
    Open source
  • 0
    Small size
  • 0
    Real time
  • 36
    Massively scalable & easy to use
  • 25
    Easy setup
  • 20
    Reliable
  • 19
    Great support
  • 14
    Flexible to integrate to custom applications
  • 13
    99.999% availability guarantees
  • 13
    Sockets at Scale
  • 13
    High-Performance
  • 12
    Multiplexing
  • 12
    High-Reliability
  • 7
    Scalability
  • 5
    70+ SDKs
  • 5
    High-Availability
  • 4
    Azure Add-on
  • 4
    Security
  • 3
    Heroku Add-on
  • 3
    Presence
  • 3
    Easy to setup
  • 3
    Flexible
  • 2
    Server-Side Cache
  • 2
    Free Plan
  • 2
    Support
  • 2
    AngularJS Adapter
  • 2
    PhoneGap Plugin
  • 2
    Data Sync
  • 2
    Data Streams
  • 2
    Analytics
  • 1
    Angular 2+ integration
  • 1
    Easy integration with iOS apps
  • 1
    Easy setup and very reliable
  • 1
    High cost, going up more in Summer '15
  • 1
    Cool
  • 1
    Documentation, easy to use, great people/service
  • 1
    CTO stephen also is A++++++
  • 1
    Real time and easy to use.
  • 1
    Cdsd

Sign up to add or upvote prosMake informed product decisions

Cons of Gun
Cons of PubNub
    Be the first to leave a con
    • 1
      Costly

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is Gun?

    GUN is a realtime, decentralized, embedded, graph database engine.

    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.

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

    What companies use Gun?
    What companies use PubNub?
    See which teams inside your own company are using Gun or PubNub.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with Gun?
    What tools integrate with PubNub?
      No integrations found

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

      Blog Posts

      Vue.jsSpring BootUnity+7
      2
      1047
      JavaScriptPythonPubNub+4
      7
      1112
      What are some alternatives to Gun and PubNub?
      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
      It enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed.
      Pusher
      Pusher is the category leader in delightful APIs for app developers building communication and collaboration features.
      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.
      Google Cloud Pub/Sub
      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.
      See all alternatives