Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 845 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 845 Bytes

protobuf-simple-rpc

A simple socket based RPC transport layer for protocol buffers. Implements an asynchronous RpcChannel. Look at the example for how to implement a simple service.

Background and target applications

During another project I needed fast RPCs for Android phones. In the beginning I used jsonrpc4j and Jetty which are a wonderful pieces of software, but unfortunately can be really slow.

If you need a lightweight RPC mechanism you may find this useful.

Asynchronous RPC

Because I want to keep this library small (and also because I'm lazy) I only support asynchronous RPCs. You can simulate synchronous calls by waiting for each RPC to complete.