Happy !

MasashiUmezawa / NanoStrand-RPC

Project infos

License MIT
Tags nanomsg, rpc
Creation date 2015-06-26
Website

Monticello registration

About NanoStrand-RPC

RPC layer on NanoStrand

It will support many messaging styles: Sync, Async and Oneway.

Currently Sync has been implemented. It accepts about 7000 requests per second on my laptop.

NnLogger isDebugging: false.

server := NnRpcServer bind: 'tcp://127.0.0.1:6677'.
server start.

client := NnRpcClient connect: 'tcp://127.0.0.1:6677'.
[500 timesRepeat: [client invoke: #RpcSampleService selector: #plus:with: arguments: (Array with: 1 with: 2)]] timeToRun. => "0:00:00:00.081"