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

PubNub

239
458
+ 1
238
ws

935
190
+ 1
0
Add tool

PubNub vs ws: What are the differences?

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

What is ws? A Node.js WebSocket library. It is a simple to use, blazing fast, and thoroughly tested WebSocket client and server implementation.

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

Some of the features offered by PubNub are:

  • PubNub SDKs support over 50 of the most popular environments, including: iOS, Android, JavaScript, .NET, Java, Ruby, Python, PHP and many more.
  • Data Push - Establish and maintain persistent socket connections to any device (mobile, browser, desktop and server) and push data to global audiences in less than ¼ of a second
  • Presence - Automatically detect when users enter or leave your app and whether machines are online

On the other hand, ws provides the following key features:

  • Simple to use
  • Blazing fast
  • WebSocket client and server for Node.js

ws is an open source tool with 12.4K GitHub stars and 1.6K GitHub forks. Here's a link to ws's open source repository on GitHub.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of PubNub
Pros of ws
  • 36
    Massively scalable & easy to use
  • 25
    Easy setup
  • 20
    Reliable
  • 19
    Great support
  • 14
    Flexible to integrate to custom applications
  • 13
    Sockets at Scale
  • 13
    99.999% availability guarantees
  • 13
    High-Performance
  • 12
    High-Reliability
  • 12
    Multiplexing
  • 7
    Scalability
  • 5
    High-Availability
  • 5
    70+ SDKs
  • 4
    Security
  • 4
    Azure Add-on
  • 3
    Heroku Add-on
  • 3
    Presence
  • 3
    Flexible
  • 3
    Easy to setup
  • 2
    Data Streams
  • 2
    Free Plan
  • 2
    Server-Side Cache
  • 2
    PhoneGap Plugin
  • 2
    AngularJS Adapter
  • 2
    Data Sync
  • 2
    Analytics
  • 2
    Support
  • 1
    Easy setup and very reliable
  • 1
    High cost, going up more in Summer '15
  • 1
    Cool
  • 1
    Angular 2+ integration
  • 1
    Documentation, easy to use, great people/service
  • 1
    CTO stephen also is A++++++
  • 1
    Real time and easy to use.
  • 1
    Easy integration with iOS apps
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

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

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      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 ws?

      It is a simple to use, blazing fast, and thoroughly tested WebSocket client and server implementation.

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

      What companies use PubNub?
      What companies use ws?
      Manage your open source components, licenses, and vulnerabilities
      Learn More

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

      What tools integrate with PubNub?
      What tools integrate with ws?

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

      Blog Posts

      Oct 3 2019 at 7:13PM

      Ably Realtime

      JavaScriptPythonNode.js+8
      5
      3998
      Vue.jsSpring BootUnity+7
      2
      1334
      JavaScriptPythonPubNub+4
      7
      1787
      What are some alternatives to PubNub and ws?
      Pusher
      Pusher is the category leader in delightful APIs for app developers building communication and collaboration features.
      Socket.IO
      It enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed.
      SendBird
      SendBird is a Messaging SDK, Chat API, and fully managed chat infrastructure for your mobile apps and websites. Embeddable chat for iOS, Android, JavaScript, Unity, .NET.
      Stream
      Stream allows you to build scalable feeds, activity streams, and chat. Stream’s simple, yet powerful API’s and SDKs are used by some of the largest and most popular applications for feeds and chat. SDKs available for most popular languages.
      Kafka
      Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.
      See all alternatives