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


+ 1

+ 1
Add tool
Advice on CometD and Socket.IO
Needs advice

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 路 393K views

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

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

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 CometD
Pros of Socket.IO
    Be the first to leave a pro
    • 217
    • 141
      Event-based communication
    • 141
    • 102
    • 101
      Open source
    • 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

    Sign up to add or upvote prosMake informed product decisions

    Cons of CometD
    Cons of Socket.IO
      Be the first to leave a con
      • 11
        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

      What is CometD?

      It is a web server to push data to a browser, without the browser explicitly requesting it. It is an umbrella term, encompassing multiple techniques for achieving this interaction.

      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 CometD?
      What companies use Socket.IO?
      See which teams inside your own company are using CometD 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 CometD?
      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 CometD and Socket.IO?
      RabbitMQ gives your applications a common platform to send and receive messages, and your messages a safe place to live until received.
      Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system, but with a unique design.
      Apache Camel
      An open source Java framework that focuses on making integration easier and more accessible to developers.
      The Atmosphere Framework contains client and server side components for building Asynchronous Web Applications. The majority of popular frameworks are either supporting Atmosphere or supported natively by the framework. The Atmosphere Framework supports all major Browsers and Servers.
      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