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

Apollo

2.4K
1.8K
+ 1
25
SocketCluster

47
168
+ 1
47
Add tool

Apollo vs SocketCluster: What are the differences?

Developers describe Apollo as "GraphQL server for Express, Connect, Hapi, Koa and more". Build a universal GraphQL API on top of your existing REST APIs, so you can ship new application features fast without waiting on backend changes. On the other hand, SocketCluster is detailed as "An open, scalable realtime engine for Node.js". SocketCluster is a fast, highly scalable HTTP + realtime server engine which lets you build multi-process realtime servers that make use of all CPU cores on a machine/instance. It removes the limitations of having to run your Node.js server as a single thread and makes your backend resilient by automatically recovering from worker crashes and aggregating errors into a central log.

Apollo can be classified as a tool in the "Platform as a Service" category, while SocketCluster is grouped under "Realtime Backend / API".

"From the creators of Meteor" is the top reason why over 8 developers like Apollo, while over 8 developers mention "Cluster mode is awesome" as the leading cause for choosing SocketCluster.

Apollo and SocketCluster are both open source tools. Apollo with 7.53K GitHub stars and 935 forks on GitHub appears to be more popular than SocketCluster with 5.35K GitHub stars and 283 GitHub forks.

CircleCI, Swat.io, and Flexport are some of the popular companies that use Apollo, whereas SocketCluster is used by notthatbad technologies UG, Livevents, and StaffConnect. Apollo has a broader approval, being mentioned in 131 company stacks & 127 developers stacks; compared to SocketCluster, which is listed in 6 company stacks and 3 developer stacks.

Decisions about Apollo and SocketCluster
Márton Danóczy

We wanted to save as much time as possible when writing our back-end, therefore Apollo was out of the question, we went for an auto-generated API instead. Hasura looked good in the beginning, but we wanted to retain the ability to add a few manual resolvers and modifications to auto-generated ones, which ruled out Hasura. Postgraphile with its Plug-In architecture was the right choice for us, we never regretted it!

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Apollo
Pros of SocketCluster
  • 12
    From the creators of Meteor
  • 8
    Great documentation
  • 3
    Open source
  • 2
    Real time if use subscription
  • 12
    Cluster mode is awesome
  • 8
    WebSockets
  • 7
    Scalability
  • 4
    Security
  • 4
    Real-time
  • 4
    JWT based Authentication
  • 3
    Pub-Sub API
  • 3
    Open source
  • 2
    Client Libraries

Sign up to add or upvote prosMake informed product decisions

Cons of Apollo
Cons of SocketCluster
  • 1
    File upload is not supported
  • 1
    Increase in complexity of implementing (subscription)
    Be the first to leave a con

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is Apollo?

    Build a universal GraphQL API on top of your existing REST APIs, so you can ship new application features fast without waiting on backend changes.

    What is SocketCluster?

    SocketCluster is a fast, highly scalable HTTP + realtime server engine which lets you build multi-process realtime servers that make use of all CPU cores on a machine/instance. It removes the limitations of having to run your Node.js server as a single thread and makes your backend resilient by automatically recovering from worker crashes and aggregating errors into a central log.

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

    What companies use Apollo?
    What companies use SocketCluster?
    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 Apollo?
    What tools integrate with SocketCluster?

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

    Blog Posts

    GitHubPythonNode.js+47
    55
    72830
    What are some alternatives to Apollo and SocketCluster?
    Helios
    Helios is a Docker orchestration platform for deploying and managing containers across an entire fleet of servers. Helios provides a HTTP API as well as a command-line client to interact with servers running your containers.
    GraphQL
    GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    Relay Framework
    Never again communicate with your data store using an imperative API. Simply declare your data requirements using GraphQL and let Relay figure out how and when to fetch your data.
    NGINX
    nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
    See all alternatives