🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

netz

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netz

A peer-2-peer service discovery and communication framework built on top of nanomsg

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
7
-22.22%
Maintainers
1
Weekly downloads
 
Created
Source

netz

npm version Build Status Coverage Status Dependency Status

A peer-2-peer service discovery and communication framework built on top of nanomsg

About

Finding services is hard when you have to wire up everything by yourself, which is why I wrote this framework on top of nanomsg to make connecting services with each other easier. Rather than having to specify specific addresses when connecting to other services using nanomsg, we only use service names to hook them up. This works by using a discovery service on top of nanomsg that knows what services are available a the cluster. The discovery itself can be done through various means, such as broadcasts, lists of IPs or a discovery implementation written for AWS. Using the service is very simple while leaving you with access to most basic functions given by nanomsg.

What is nanomsg

Here's the description taken off of the official web page: nanomsg is a socket library that provides several common communication patterns. It aims to make the networking layer fast, scalable, and easy to use.

Features

  • support for all socket types (Req, Rep, Sub, Pub, Push, Pull, Surveyor, Respondent, Pair, Bus)

  • Discovery using AWS, TCP broadcast, unicast or local file

  • Automatically connect/disconnect when services appear/disappear

  • Highly event driven, which allows you to react to service or node changes in addition to the available API

  • No need to use tcp addresses or ports for your services, the framework will assign them for you

API

A detailed documentation will come, until then check out the examples in the test directory.

Keywords

nanomsg

FAQs

Package last updated on 21 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts