socketcluster
SocketCluster - A Highly parallelized WebSocket server cluster to make the most of multi-core machines/instances.
Last updated 8 years ago by topcloudsystems .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install socketcluster 
SYNC missed versions from official npm registry.

SocketCluster

Toolset and boilerplate for quickly creating systems using SocketCluster. See the client and server repos for documentation:

Documentation for SCC (horizontally scalable cluster) is available at https://github.com/SocketCluster/socketcluster/blob/master/scc-guide.md

Installation

Setup the socketcluster command:

npm install -g socketcluster

or:

sudo npm install -g socketcluster

then:

socketcluster create myapp

Once it's installed, go to your new myapp/ directory and launch with:

node server

Access at URL http://localhost:8000/

Node.js v10.0.0 or above is recommended but you can also use SocketCluster with older Node.js versions if you use while loops instead of for-await-of loops.

Compatibility mode

For compatibility with existing SocketCluster clients, set the protocolVersion to 1 and make sure that the path matches your old client path:

let agServer = socketClusterServer.attach(httpServer, {
  protocolVersion: 1,
  path: '/socketcluster/'
});

Change log

See the 'releases' section for changes: https://github.com/SocketCluster/socketcluster/releases

License

(The MIT License)

Copyright (c) 2013-2023 SocketCluster.io

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Current Tags

  • 19.1.3                                ...           latest (9 months ago)

415 Versions

  • 19.1.3                                ...           9 months ago
  • 19.1.2                                ...           a year ago
  • 19.1.1                                ...           a year ago
  • 19.1.0                                ...           a year ago
  • 19.0.2                                ...           a year ago
  • 19.0.1                                ...           a year ago
  • 19.0.0                                ...           a year ago
  • 18.1.5                                ...           a year ago
  • 18.1.4                                ...           a year ago
  • 18.1.2                                ...           a year ago
  • 18.1.1                                ...           a year ago
  • 18.0.3                                ...           a year ago
  • 18.0.2                                ...           a year ago
  • 18.0.1                                ...           a year ago
  • 18.0.0                                ...           a year ago
  • 17.4.5                                ...           a year ago
  • 17.4.4                                ...           a year ago
  • 17.4.3                                ...           a year ago
  • 17.4.2                                ...           a year ago
  • 17.4.1                                ...           a year ago
  • 17.4.0                                ...           2 years ago
  • 17.3.2                                ...           2 years ago
  • 17.3.0                                ...           2 years ago
  • 17.2.0                                ...           2 years ago
  • 17.0.0                                ...           2 years ago
  • 16.2.1                                ...           2 years ago
  • 16.2.0                                ...           2 years ago
  • 16.1.3                                ...           3 years ago
  • 16.1.2                                ...           3 years ago
  • 16.1.1                                ...           3 years ago
  • 16.1.0                                ...           3 years ago
  • 16.0.3                                ...           3 years ago
  • 16.0.2                                ...           4 years ago
  • 16.0.1                                ...           5 years ago
  • 16.0.0                                ...           5 years ago
  • 15.0.6                                ...           5 years ago
  • 15.0.5                                ...           5 years ago
  • 15.0.4                                ...           5 years ago
  • 15.0.3                                ...           5 years ago
  • 15.0.2                                ...           5 years ago
  • 15.0.1                                ...           5 years ago
  • 15.0.0                                ...           5 years ago
  • 14.4.2                                ...           5 years ago
  • 14.4.1                                ...           5 years ago
  • 14.4.0                                ...           5 years ago
  • 14.3.5                                ...           6 years ago
  • 14.3.4                                ...           6 years ago
  • 14.3.3                                ...           6 years ago
  • 14.3.2                                ...           6 years ago
  • 14.3.1                                ...           6 years ago
  • 14.3.0                                ...           6 years ago
  • 14.2.1                                ...           6 years ago
  • 14.2.0                                ...           6 years ago
  • 14.1.1                                ...           6 years ago
  • 14.1.0                                ...           6 years ago
  • 14.0.5                                ...           6 years ago
  • 14.0.4                                ...           6 years ago
  • 14.0.3                                ...           6 years ago
  • 14.0.2                                ...           6 years ago
  • 14.0.1                                ...           6 years ago
  • 14.0.0                                ...           6 years ago
  • 13.1.8                                ...           7 years ago
  • 13.1.7                                ...           7 years ago
  • 13.1.6                                ...           7 years ago
  • 13.1.5                                ...           7 years ago
  • 13.1.4                                ...           7 years ago
  • 13.1.3                                ...           7 years ago
  • 13.1.2                                ...           7 years ago
  • 13.1.1                                ...           7 years ago
  • 13.1.0                                ...           7 years ago
  • 13.0.1                                ...           7 years ago
  • 13.0.0                                ...           7 years ago
  • 12.0.0                                ...           7 years ago
  • 11.4.4                                ...           7 years ago
  • 11.4.3                                ...           7 years ago
  • 11.4.2                                ...           7 years ago
  • 11.4.1                                ...           7 years ago
  • 11.4.0                                ...           7 years ago
  • 11.3.6                                ...           7 years ago
  • 11.3.5                                ...           7 years ago
  • 11.3.4                                ...           7 years ago
  • 11.3.3                                ...           7 years ago
  • 11.3.1                                ...           7 years ago
  • 11.3.0                                ...           7 years ago
  • 11.2.0                                ...           7 years ago
  • 11.1.0                                ...           7 years ago
  • 11.0.0                                ...           7 years ago
  • 10.1.2                                ...           7 years ago
  • 10.1.1                                ...           7 years ago
  • 10.1.0                                ...           7 years ago
  • 10.0.1                                ...           7 years ago
  • 10.0.0                                ...           7 years ago
  • 9.3.3                                ...           7 years ago
  • 9.3.2                                ...           7 years ago
  • 9.3.1                                ...           7 years ago
  • 9.3.0                                ...           7 years ago
  • 9.2.2                                ...           7 years ago
  • 9.2.1                                ...           7 years ago
  • 9.2.0                                ...           7 years ago
  • 9.1.10                                ...           7 years ago
  • 9.1.9                                ...           7 years ago
  • 9.1.8                                ...           7 years ago
  • 9.1.7                                ...           7 years ago
  • 9.1.6                                ...           7 years ago
  • 9.1.5                                ...           7 years ago
  • 9.1.4                                ...           7 years ago
  • 9.1.3                                ...           7 years ago
  • 9.1.2                                ...           7 years ago
  • 9.1.1                                ...           7 years ago
  • 9.1.0                                ...           7 years ago
  • 9.0.8                                ...           7 years ago
  • 9.0.7                                ...           7 years ago
  • 9.0.6                                ...           7 years ago
  • 9.0.5                                ...           7 years ago
  • 9.0.4                                ...           7 years ago
  • 9.0.3                                ...           7 years ago
  • 9.0.2                                ...           7 years ago
  • 9.0.1                                ...           7 years ago
  • 9.0.0                                ...           7 years ago
  • 8.0.2                                ...           7 years ago
  • 8.0.1                                ...           7 years ago
  • 8.0.0                                ...           7 years ago
  • 7.1.1                                ...           7 years ago
  • 7.1.0                                ...           7 years ago
  • 7.0.2                                ...           7 years ago
  • 7.0.1                                ...           7 years ago
  • 7.0.0                                ...           7 years ago
  • 6.8.0                                ...           7 years ago
  • 6.7.1                                ...           7 years ago
  • 6.7.0                                ...           7 years ago
  • 6.6.0                                ...           7 years ago
  • 6.5.0                                ...           7 years ago
  • 6.4.0                                ...           7 years ago
  • 6.3.1                                ...           7 years ago
  • 6.3.0                                ...           7 years ago
  • 6.2.3                                ...           7 years ago
  • 6.2.2                                ...           7 years ago
  • 6.2.1                                ...           7 years ago
  • 6.2.0                                ...           7 years ago
  • 6.1.1                                ...           7 years ago
  • 6.1.0                                ...           7 years ago
  • 6.0.3                                ...           7 years ago
  • 6.0.2                                ...           7 years ago
  • 6.0.1                                ...           7 years ago
  • 6.0.0                                ...           7 years ago
  • 5.16.0                                ...           8 years ago
  • 5.15.0                                ...           8 years ago
  • 5.14.2                                ...           8 years ago
  • 5.14.1                                ...           8 years ago
  • 5.14.0                                ...           8 years ago
  • 5.13.3                                ...           8 years ago
  • 5.13.2                                ...           8 years ago
  • 5.13.1                                ...           8 years ago
  • 5.13.0                                ...           8 years ago
  • 5.12.2                                ...           8 years ago
  • 5.12.1                                ...           8 years ago
  • 5.12.0                                ...           8 years ago
  • 5.11.0                                ...           8 years ago
  • 5.10.2                                ...           8 years ago
  • 5.10.1                                ...           8 years ago
  • 5.10.0                                ...           8 years ago
  • 5.9.2                                ...           8 years ago
  • 5.9.1                                ...           8 years ago
  • 5.9.0                                ...           8 years ago
  • 5.8.0                                ...           8 years ago
  • 5.7.1                                ...           8 years ago
  • 5.7.0                                ...           8 years ago
  • 5.6.0                                ...           8 years ago
  • 5.5.0                                ...           8 years ago
  • 5.4.0                                ...           8 years ago
  • 5.3.0                                ...           8 years ago
  • 5.2.4                                ...           8 years ago
  • 5.2.3                                ...           8 years ago
  • 5.2.2                                ...           8 years ago
  • 5.2.1                                ...           8 years ago
  • 5.2.0                                ...           8 years ago
  • 5.1.3                                ...           8 years ago
  • 5.1.2                                ...           8 years ago
  • 5.1.1                                ...           8 years ago
  • 5.1.0                                ...           8 years ago
  • 5.0.25                                ...           8 years ago
  • 5.0.24                                ...           8 years ago
  • 5.0.23                                ...           8 years ago
  • 5.0.22                                ...           8 years ago
  • 5.0.21                                ...           8 years ago
  • 5.0.20                                ...           8 years ago
  • 5.0.19                                ...           8 years ago
  • 5.0.18                                ...           8 years ago
  • 5.0.17                                ...           8 years ago
  • 5.0.16                                ...           8 years ago
  • 5.0.15                                ...           8 years ago
  • 5.0.14                                ...           8 years ago
  • 5.0.13                                ...           8 years ago
  • 5.0.12                                ...           8 years ago
  • 5.0.11                                ...           8 years ago
  • 5.0.10                                ...           8 years ago
  • 5.0.9                                ...           8 years ago
  • 5.0.8                                ...           8 years ago
  • 5.0.7                                ...           8 years ago
  • 5.0.6                                ...           8 years ago
  • 5.0.5                                ...           8 years ago
  • 5.0.4                                ...           8 years ago
  • 5.0.2                                ...           8 years ago
  • 5.0.1                                ...           8 years ago
  • 5.0.0                                ...           8 years ago
  • 4.8.1                                ...           8 years ago
  • 4.7.1                                ...           8 years ago
  • 4.7.0                                ...           8 years ago
  • 4.6.3                                ...           8 years ago
  • 4.6.2                                ...           9 years ago
  • 4.6.1                                ...           9 years ago
  • 4.6.0                                ...           9 years ago
  • 4.5.0                                ...           9 years ago
  • 4.4.0                                ...           9 years ago
  • 4.3.7                                ...           9 years ago
  • 4.3.6                                ...           9 years ago
  • 4.3.5                                ...           9 years ago
  • 4.3.4                                ...           9 years ago
  • 4.3.3                                ...           9 years ago
  • 4.3.2                                ...           9 years ago
  • 4.3.1                                ...           9 years ago
  • 4.3.0                                ...           9 years ago
  • 4.2.2                                ...           9 years ago
  • 4.2.1                                ...           9 years ago
  • 4.2.0                                ...           9 years ago
  • 4.1.0                                ...           9 years ago
  • 4.0.1                                ...           9 years ago
  • 4.0.0                                ...           9 years ago
  • 3.0.0                                ...           9 years ago
  • 2.5.3                                ...           9 years ago
  • 2.5.2                                ...           9 years ago
  • 2.5.1                                ...           9 years ago
  • 2.5.0                                ...           9 years ago
  • 2.4.0                                ...           9 years ago
  • 2.3.26                                ...           9 years ago
  • 2.3.25                                ...           9 years ago
  • 2.3.24                                ...           9 years ago
  • 2.3.23                                ...           9 years ago
  • 2.3.22                                ...           9 years ago
  • 2.3.21                                ...           9 years ago
  • 2.3.20                                ...           9 years ago
  • 2.3.19                                ...           9 years ago
  • 2.3.18                                ...           9 years ago
  • 2.3.17                                ...           9 years ago
  • 2.3.16                                ...           9 years ago
  • 2.3.15                                ...           9 years ago
  • 2.3.14                                ...           9 years ago
  • 2.3.13                                ...           9 years ago
  • 2.3.12                                ...           9 years ago
  • 2.3.11                                ...           9 years ago
  • 2.3.10                                ...           9 years ago
  • 2.3.9                                ...           9 years ago
  • 2.3.8                                ...           9 years ago
  • 2.3.7                                ...           9 years ago
  • 2.3.6                                ...           9 years ago
  • 2.3.5                                ...           9 years ago
  • 2.3.4                                ...           9 years ago
  • 2.3.3                                ...           9 years ago
  • 2.3.1                                ...           9 years ago
  • 2.3.0                                ...           9 years ago
  • 2.2.39                                ...           9 years ago
  • 2.2.38                                ...           9 years ago
  • 2.2.37                                ...           9 years ago
  • 2.2.36                                ...           9 years ago
  • 2.2.35                                ...           9 years ago
  • 2.2.34                                ...           9 years ago
  • 2.2.33                                ...           9 years ago
  • 2.2.32                                ...           9 years ago
  • 2.2.31                                ...           10 years ago
  • 2.2.30                                ...           10 years ago
  • 2.2.26                                ...           10 years ago
  • 2.2.25                                ...           10 years ago
  • 2.2.24                                ...           10 years ago
  • 2.2.23                                ...           10 years ago
  • 2.2.22                                ...           10 years ago
  • 2.2.21                                ...           10 years ago
  • 2.2.20                                ...           10 years ago
  • 2.2.19                                ...           10 years ago
  • 2.2.18                                ...           10 years ago
  • 2.2.17                                ...           10 years ago
  • 2.2.16                                ...           10 years ago
  • 2.2.15                                ...           10 years ago
  • 2.2.14                                ...           10 years ago
  • 2.2.13                                ...           10 years ago
  • 2.2.12                                ...           10 years ago
  • 2.2.11                                ...           10 years ago
  • 2.2.10                                ...           10 years ago
  • 2.2.9                                ...           10 years ago
  • 1.3.11                                ...           10 years ago
  • 1.3.10                                ...           10 years ago
  • 1.3.9                                ...           10 years ago
  • 1.3.8                                ...           10 years ago
  • 1.3.7                                ...           10 years ago
  • 1.3.6                                ...           10 years ago
  • 1.3.5                                ...           10 years ago
  • 1.3.4                                ...           10 years ago
  • 1.3.3                                ...           10 years ago
  • 1.3.2                                ...           10 years ago
  • 1.3.1                                ...           10 years ago
  • 1.3.0                                ...           10 years ago
  • 1.2.5                                ...           10 years ago
  • 1.2.4                                ...           10 years ago
  • 1.2.3                                ...           10 years ago
  • 1.2.2                                ...           10 years ago
  • 1.2.1                                ...           10 years ago
  • 1.2.0                                ...           10 years ago
  • 1.1.9                                ...           10 years ago
  • 1.1.8                                ...           10 years ago
  • 1.1.7                                ...           10 years ago
  • 1.1.6                                ...           10 years ago
  • 1.1.5                                ...           10 years ago
  • 1.1.4                                ...           10 years ago
  • 1.1.3                                ...           10 years ago
  • 1.1.2                                ...           10 years ago
  • 1.1.1                                ...           10 years ago
  • 1.1.0                                ...           10 years ago
  • 1.0.9                                ...           10 years ago
  • 1.0.8                                ...           10 years ago
  • 1.0.7                                ...           10 years ago
  • 1.0.6                                ...           10 years ago
  • 1.0.5                                ...           10 years ago
  • 1.0.4                                ...           10 years ago
  • 1.0.3                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 0.9.91                                ...           10 years ago
  • 0.9.90                                ...           10 years ago
  • 0.9.89                                ...           10 years ago
  • 0.9.88                                ...           10 years ago
  • 0.9.87                                ...           10 years ago
  • 0.9.85                                ...           10 years ago
  • 0.9.84                                ...           10 years ago
  • 0.9.83                                ...           10 years ago
  • 0.9.82                                ...           10 years ago
  • 0.9.81                                ...           10 years ago
  • 0.9.80                                ...           10 years ago
  • 0.9.79                                ...           10 years ago
  • 0.9.78                                ...           10 years ago
  • 0.9.77                                ...           10 years ago
  • 0.9.76                                ...           10 years ago
  • 0.9.75                                ...           10 years ago
  • 0.9.74                                ...           10 years ago
  • 0.9.73                                ...           10 years ago
  • 0.9.72                                ...           10 years ago
  • 0.9.71                                ...           10 years ago
  • 0.9.70                                ...           10 years ago
  • 0.9.69                                ...           10 years ago
  • 0.9.68                                ...           10 years ago
  • 0.9.67                                ...           10 years ago
  • 0.9.66                                ...           10 years ago
  • 0.9.65                                ...           10 years ago
  • 0.9.64                                ...           10 years ago
  • 0.9.63                                ...           10 years ago
  • 0.9.62                                ...           10 years ago
  • 0.9.61                                ...           10 years ago
  • 0.9.60                                ...           10 years ago
  • 0.9.59                                ...           10 years ago
  • 0.9.58                                ...           10 years ago
  • 0.9.57                                ...           10 years ago
  • 0.9.56                                ...           10 years ago
  • 0.9.55                                ...           10 years ago
  • 0.9.54                                ...           10 years ago
  • 0.9.53                                ...           10 years ago
  • 0.9.53-pre.2                                ...           10 years ago
  • 0.9.53-pre.1                                ...           10 years ago
  • 0.9.52                                ...           10 years ago
  • 0.9.51                                ...           10 years ago
  • 0.9.50                                ...           10 years ago
  • 0.9.48                                ...           10 years ago
  • 0.9.47                                ...           10 years ago
  • 0.9.46                                ...           10 years ago
  • 0.9.45                                ...           10 years ago
  • 0.9.44                                ...           10 years ago
  • 0.9.43                                ...           10 years ago
  • 0.9.42                                ...           10 years ago
  • 0.9.41                                ...           10 years ago
  • 0.9.39                                ...           10 years ago
  • 0.9.38                                ...           10 years ago
  • 0.9.37                                ...           10 years ago
  • 0.9.36                                ...           10 years ago
  • 0.9.35                                ...           10 years ago
  • 0.9.34                                ...           10 years ago
  • 0.9.33                                ...           10 years ago
  • 0.9.32                                ...           10 years ago
  • 0.9.31                                ...           10 years ago
  • 0.9.30                                ...           10 years ago
  • 0.9.29                                ...           10 years ago
  • 0.9.28                                ...           10 years ago
  • 0.9.27                                ...           10 years ago
  • 0.9.26                                ...           10 years ago
  • 0.9.25                                ...           11 years ago
  • 0.9.24                                ...           11 years ago
  • 0.9.23                                ...           11 years ago
  • 0.9.22                                ...           11 years ago
  • 0.9.21                                ...           11 years ago
  • 0.9.20                                ...           11 years ago
  • 0.9.19                                ...           11 years ago
  • 0.9.18                                ...           11 years ago
  • 0.9.17                                ...           11 years ago
  • 0.9.16                                ...           11 years ago
  • 0.9.15                                ...           11 years ago
  • 0.9.14                                ...           11 years ago
  • 0.9.13                                ...           11 years ago
  • 0.9.12                                ...           11 years ago
  • 0.9.11                                ...           11 years ago
  • 0.9.10                                ...           11 years ago
  • 0.9.8                                ...           11 years ago
  • 0.9.7                                ...           11 years ago
  • 0.9.6                                ...           11 years ago
  • 0.9.5                                ...           11 years ago
  • 0.9.4                                ...           11 years ago
  • 0.9.3                                ...           11 years ago
  • 0.9.2                                ...           11 years ago
  • 0.9.1                                ...           11 years ago
  • 0.9.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (13)
Dev Dependencies (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE