0.2.0 • Published 7 years ago

somata-registry v0.2.0

Weekly downloads
65
License
-
Repository
github
Last release
7 years ago

Somata Registry

The Registry is a core Somata Service used to register and look up other services by name. Every new Service registers itself with the Registry, describing itself as {name, host, port, protocol}. When a Client connects to a Service, it first uses the Registry to look up available services by name.

Installation

Install globally with NPM. See Somata installation for dependency information.

$ sudo npm install -g somata-registry

Usage

Each machine running Somata services should also be running a registry. By default the registry binds to 127.0.0.1:8420.

$ somata-registry
[Registry] Bound to 127.0.0.1:8420

Keep it running in the background with your process manager of choice, e.g. pm2:

$ pm2 start somata-registry

Options

Using the --host, --port, and --proto flags you can change where the registry binds:

$ somata-registry --host 0.0.0.0 --port 48822
[Registry] Bound to 0.0.0.0:48822
0.2.0

7 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago