Skiff rpc transport over json
Externalized transport for use with sombrero-node like clusters. Server and client for tcp-based rpc network. Pass in class with functions that are supposed to be called remotely. This is more traffic over skiff-transport-msgpack, but lower CPU impact, so more messages can be transmitted over time.
Install
npm install skiff-transport-json -S
Usage
var transport = ;var Server = ;// assume it has methods `ping` and `pong` // on node 1 that will execute actionstransport; // on other nodes var rpc = transport;rpc;