Software Alternatives, Accelerators & Startups

SockJS VS Nchan

Compare SockJS VS Nchan and see what are their differences

SockJS logo SockJS

SockJS is a browser JavaScript library that provides a WebSocket-like object.

Nchan logo Nchan

Nchan is a scalable, configurable pub/sub server for the modern web, built as a module for the...
  • SockJS Landing page
    Landing page //
    2023-07-24
  • Nchan Landing page
    Landing page //
    2019-08-11

Category Popularity

0-100% (relative to SockJS and Nchan)
Developer Tools
54 54%
46% 46
Mobile Push Messaging
46 46%
54% 54
App Development
53 53%
47% 47
Software Libraries
100 100%
0% 0

User comments

Share your experience with using SockJS and Nchan. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Nchan should be more popular than SockJS. It has been mentiond 4 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

SockJS mentions (2)

  • WebSockets and Node.js - testing WS and SockJS by building a web app
    SockJS is a library that mimics the native WebSockets API. Additionally, it will fall back to HTTP whenever a WebSocket fails to connect, or if the browser being used doesn’t support WebSockets. Like WS, SockJS requires a server counterpart; its maintainers provide both a JavaScript client library and a Node.js server library. - Source: dev.to / 8 months ago
  • Top WebSocket libraries for Node.js in 2022
    SockJS is a JavaScript library that provides communication between the client and the server in a way similar to the native WebSockets API. SockJS functions with a server counterpart in the form of sockjs-node and SockJS-client, a JavaScript client library. - Source: dev.to / over 2 years ago

Nchan mentions (4)

  • What is the best way to write a dedicated server?
    It could be implemented with STOMP, or Mercure (goes well with API-Platform, written in PHP/Symfony), you could write your own with the help of nchan and scale it via Redis. If it's a web service, the best practices for operating and scaling are well established, Godot then just becomes another client. Source: about 1 year ago
  • What ways are there to poll an endpoint from the client
    NginX comes with an nchan extension which supports interval polling, long polling, websockets, SSE, etc., so you can find a method that matches your latency requirements. Source: over 1 year ago
  • The WebSocket Handbook
    Anyone considering augmenting an existing web service with Websockets should take look at the Nchan nginx plugin. https://nchan.io/. - Source: Hacker News / over 2 years ago
  • Which self hosted Pub/Sub realtime technology (websockets etc) do you use and why?
    I can find socket.io, faye, deepstream.io , autobahn-js and nchan, centrifugo. Can you also explain why you chose it and if you had troubles with some other solution? Source: about 3 years ago

What are some alternatives?

When comparing SockJS and Nchan, you can also consider the following products

Socket.io - Realtime application framework (Node.JS server)

Primus - Primus, the creator god of the transformers & an abstraction layer for real-time to prevent...

deepstream.io - A scalable server for realtime webapps

Pusher - Pusher is a hosted API for quickly, easily and securely adding scalable realtime functionality via WebSockets to web and mobile apps.

Autobahn - The Autobahn project provides open-source implementations of the The WebSocket Protocol and The Web...

WebRTC - WebRTC is a free, open project that enables web browsers with Real-Time Communications (RTC) capabilities via simple JavaScript APIs. The WebRTC components have been optimized to best serve this purpose.