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.
SocketCluster is a tool in the Realtime Backend / API category of a tech stack.
SocketCluster is an open source tool with 6.2K GitHub stars and 313 GitHub forks. Here’s a link to SocketCluster's open source repository on GitHub
Who uses SocketCluster?
Companies
8 companies reportedly use SocketCluster in their tech stacks, including StaffConnect, Fusionware, and Livevents.
Developers
36 developers on StackShare have stated that they use SocketCluster.
Pros of SocketCluster
12
8
7
4
4
4
3
3
2
SocketCluster's Features
- Resilient on both the client and backend - Process crashes, lost connections and other failures are handled seamlessly.
- Scales linearly as you add more CPU cores and workers (assuming a decent OS) - Tested with up to 16 cores.
- Also designed to scale horizontally across multiple machines. See sc-redis sample.
SocketCluster Alternatives & Comparisons
What are some alternatives to SocketCluster?
Socket.IO
It enables real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed.
Prism
It is a lightweight, beautiful and extensible syntax highlighter, built with modern web standards in mind. It’s used in thousands of websites, including some of those you visit daily.
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.
Apache HTTP Server
The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant web server. Originally designed as a replacement for the NCSA HTTP Server, it has grown to be the most popular web server on the Internet.
Amazon EC2
It is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.