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

SignalR

391
1K
+ 1
109
SockJS

16
46
+ 1
0
Add tool
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of SignalR
Pros of SockJS
  • 26
    Supports .NET server
  • 17
    Real-time
  • 13
    Free
  • 13
    Fallback to SSE, forever frame, long polling
  • 12
    WebSockets
  • 7
    Simple
  • 7
    JSON
  • 6
    Open source
  • 4
    Ease of use
  • 4
    Cool
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of SignalR
    Cons of SockJS
    • 2
      Requires jQuery
    • 2
      Expertise hard to get
    • 1
      Weak iOS and Android support
    • 1
      Big differences between ASP.NET and Core versions
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

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

      What is SockJS?

      It gives you a coherent, cross-browser, Javascript API which creates a low latency, full duplex, cross-domain communication channel between the browser and the web server, with WebSockets or without.

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

      What companies use SignalR?
      What companies use SockJS?
      See which teams inside your own company are using SignalR or SockJS.
      Sign up for Private StackShareLearn More

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

      What tools integrate with SignalR?
      What tools integrate with SockJS?
        No integrations found
        What are some alternatives to SignalR and SockJS?
        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.
        Pusher
        Pusher is the category leader in delightful APIs for app developers building communication and collaboration features.
        RabbitMQ
        RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
        WebRTC
        It 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.
        MQTT
        It was designed as an extremely lightweight publish/subscribe messaging transport. It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium.
        See all alternatives