Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cluster-service

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cluster-service - npm Package Compare versions

Comparing version 0.4.10 to 0.5.0

2

package.json
{
"name": "cluster-service",
"version": "0.4.10",
"version": "0.5.0",
"author": {

@@ -5,0 +5,0 @@ "name": "Aaron Silvas",

@@ -27,3 +27,8 @@ # cluster-service

Stability:
With the ```v0.5``` release we're effectively at an "Alpha" stage, with some semblance
of interface stability. Any breaking changes from now on should be handled gracefully
with either a deprecation schedule, or documented as a breaking change if necessary.

@@ -46,3 +51,2 @@ ## Getting Started

```
"scripts": {

@@ -54,4 +58,5 @@ "start": "cservice server.js --accessKey lksjdf982734"

}
```
Now we can leverage ```npm``` to find our local install of ```cluster-service```:
npm start

@@ -89,7 +94,7 @@

You can even pipe raw JSON, which can be parsed and processed by the caller:
You can even pipe raw JSON, which can be processed by the caller:
cservice "restart all" --accessKey "my_access_key" --json
Check out Cluster Commands for more details.
Check out ***Cluster Commands*** for more details.

@@ -218,3 +223,3 @@

Indicate the worker is NOT ready, via ```workers``` option:
Indicate the worker is NOT ready, via ```ready``` option:

@@ -242,3 +247,4 @@ require("cluster-service").start({ workers: { "async_worker.js": { ready: false } } });

Commands may be granted "inproc" (no trust), "local" (low trust), or "remote" (default). Setting access control at compile time can be done within the command, like so:
Commands may be granted "inproc" (no trust), "local" (low trust), or "remote" (default). Setting
access control at compile time can be done within the command, like so:

@@ -264,3 +270,3 @@ ```javascript

Combining the Worker Process (Cluster) model with a CLI piped REST API enables the ability
command the already-running service to replace existing workers with workers in a
to command the already-running service to replace existing workers with workers in a
different location. This capability is still a work in progress, but initial tests are promising.

@@ -267,0 +273,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc