0.2.0 • Published 5 years ago

somata-registry v0.2.0

Weekly downloads
65
License
-
Repository
github
Last release
5 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

5 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago