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

Nchan

79
18
+ 1
0
Socket.IO

13K
10.7K
+ 1
785
Add tool

Nchan vs Socket.IO: What are the differences?

What is Nchan? A scalable, flexible pub/sub server for the modern web. It is built as a module for the Nginx web server. It can be configured as a standalone server, or as a shim between your application and hundreds, thousands, or millions of live subscribers. It can buffer messages in memory, on-disk, or via Redis.

What is Socket.IO? Realtime application framework (Node.JS server). Socket.IO enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed.

Nchan and Socket.IO belong to "Realtime Backend / API" category of the tech stack.

Some of the features offered by Nchan are:

  • flexible pub/sub server
  • Horizontally scalable (using Redis)
  • Subscribe to hundreds of channels over a single subscriber connection.

On the other hand, Socket.IO provides the following key features:

  • Real-time analytics - Push data to clients that gets represented as real-time counters, charts or logs.
  • Binary streaming - Starting in 1.0, it's possible to send any blob back and forth: image, audio, video.
  • Instant messaging and chat - Socket.IO's "Hello world" is a chat app in just a few lines of code.

Nchan and Socket.IO are both open source tools. It seems that Socket.IO with 47.1K GitHub stars and 8.59K forks on GitHub has more adoption than Nchan with 2.35K GitHub stars and 243 GitHub forks.

Advice on Nchan and Socket.IO
Needs advice
on
ApolloApolloFirebaseFirebase
and
Socket.IOSocket.IO

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
Replies (3)
Timothy Malstead
Junior Full Stack Developer at Freelance · | 7 upvotes · 462.7K views
Recommends
on
FirebaseFirebase

I would recommend looking hard into Firebase for this project, especially if you do not have dedicated full-stack or backend members on your team.

The real time database, as you mentioned, is a great option, but I would also look into Firestore. Similar to RTDB, it adds more functions and some cool methods as well. Also, another great thing about Firebase is you have easy access to storage and dead simple auth as well.

Node.js Express MongoDB Socket.IO and Apollo are great technologies as well, and may be the better option if you do not wish to cede as much control to third parties in your application.

Overall, I say if you wish to focus more time developing your React application instead of other parts of your stack, Firebase is a great way to do that.

See more
Recommends
on
AblyAbly

Hello Noam đź‘‹,

I suggest taking a look at Ably, it has all the realtime features you need and the platform is designed to guarantee critical functionality at scale.

Here is an in depth comparison between Ably and Firebase

See more
Recommends
on
8base8base

Hey Noam,

I would recommend you to take a look into 8base. It has features you've requested, also relation database and GraphQL API which will help you to develop rapidly.

Thanks, Ilya

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Nchan
Pros of Socket.IO
    Be the first to leave a pro
    • 219
      Real-time
    • 143
      Node.js
    • 141
      Event-based communication
    • 102
      Open source
    • 102
      WebSockets
    • 26
      Binary streaming
    • 21
      No internet dependency
    • 10
      Large community
    • 9
      Fallback to polling if WebSockets not supported
    • 6
      Push notification
    • 5
      Ease of access and setup
    • 1
      Test

    Sign up to add or upvote prosMake informed product decisions

    Cons of Nchan
    Cons of Socket.IO
      Be the first to leave a con
      • 12
        Bad documentation
      • 4
        Githubs that complement it are mostly deprecated
      • 3
        Doesn't work on React Native
      • 2
        Small community
      • 2
        Websocket Errors

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is Nchan?

      It is built as a module for the Nginx web server. It can be configured as a standalone server, or as a shim between your application and hundreds, thousands, or millions of live subscribers. It can buffer messages in memory, on-disk, or via Redis.

      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.

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

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

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

      What tools integrate with Nchan?
      What tools integrate with Socket.IO?

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

      Blog Posts

      What are some alternatives to Nchan and Socket.IO?
      Pushpin
      Pushpin is a reverse proxy server that makes it easy to build realtime web services. The project is unique among realtime push solutions in that it is designed to address the needs of API creators.
      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.
      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.
      ws
      It is a simple to use, blazing fast, and thoroughly tested WebSocket client and server implementation.
      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.
      See all alternatives