clustered

Cluster your server

Usage no npm install needed!

<script type="module">
  import clustered from 'https://cdn.skypack.dev/clustered';
</script>

README

clustered

Cluster your server

build status Greenkeeper badge

Installation

  npm install clustered

Usage

Run test

Manual test available. Run the test script

  NODE_ENV=test node test/manual

followed by a number of cURL requests

  curl http://localhost:5545/

which will trigger an exception. The single process should die, then a new process forked in it's place, along with logging.

Prettier

This project uses prettier for code formatting and linting. You can set prettier up to auto format code in your editor, or manually format code before committing with yarn prettier.

Credits

Paul Serby follow me on twitter @serby

License

Licensed under the ISC