[erlang-questions] [ANN] erpc

Chandru <>
Tue May 17 23:41:16 CEST 2016


On 17 May 2016 at 22:31, Benoit Chesneau <> wrote:

> nice! How does it compare to gen_rpc?
>

Thank you. Similar aims (i.e. remove the problems caused by native RPC
implementation).
- Tries to reduce the use of message passing.
- Supports pluggable transport protocols so that you can run erpc over TLS.
- SCTP support is on the roadmap.
- Supports load balancing across multiple nodes so the client doesn't need
to care about trying multiple nodes in case one of the server nodes is
down. Currently planning to add a consistent-hashing based load balancing
but haven't quite decided on an API yet.


>
> When you say "It supports multiple TCP/TLS  connections per host " does it
> means that we can multiple clients connected to the same node?
>

Yes, with different names. That way each application can have its own
dedicated connection(s) so that it doesn't suffer from sharing connections.
For a single named connection, you can also have multiple transport
connections. Also, connections are uni-directional so you have complete
control over traffic flows.

cheers,
Chandru



> On Tue, 17 May 2016 at 22:14, Chandru <
> > wrote:
>
>> I'm pleased to announce the first release of erpc. From the README
>>
>>     This application is intended to be a replacement for native
>>     RPC. It tries to mimic the native rpc API as far as possible. It
>>     allows unidirectional connections between nodes. Where
>>     bi-directional connections are required, they need to be
>>     configured explicitly. There is host level and node level ACLs
>>     configurable. It is possible to setup application specific
>>     connections between nodes. It supports multiple TCP/TLS
>>     connections per host and load balancing of traffic across nodes.
>>
>> We haven't yet deployed this in production but it is giving us good
>> results in load tests for some of our systems. We are releasing it early so
>> that we can develop this in the open with community feedback and
>> contributions.
>>
>> https://github.com/bet365/erpc
>>
>> Many thanks to bet365 for open sourcing this.
>>
>> cheers,
>> Chandru
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160517/fcfcbd9f/attachment.html>


More information about the erlang-questions mailing list