Quic Dist Save

QUIC carrier for Erlang Distribution Protocol

Project README

quic_dist

QUIC carrier for Erlang Distribution Protocol.

Build

$ rebar3 compile

Test

Tested on OTP 26 e7e79d8b8b1ec4a97a1940a685b0bb44388c2477

Node names must be in form of 'port@ip'. EPMD cannot be used as it requires TCP.

# shell 1

$ ERL_FLAGS="-proto_dist quic -no_epmd -config sys" rebar3 shell
1> application:ensure_all_started(quic_dist).
{ok,[quicer,quic_dist]}
2> application:set_env([{quic_dist, [{cert, "/path/to/cert.pem"}, {key, "/path/to/key.pem"}]}]).
ok
3> net_kernel:start('[email protected]', #{}).
{ok,<0.182.0>}
([email protected])4> net_adm:ping('[email protected]').
pong
([email protected])5> net_adm:ping('[email protected]').
pong
([email protected])6> net_adm:ping('[email protected]').
pong
([email protected])7> net_adm:ping('[email protected]').
pong
([email protected])8> spawn('[email protected]', fun () -> erlang:display(hello) end).
<13800.205.0>
([email protected])9>
# shell 2

$ ERL_FLAGS="-proto_dist quic -no_epmd -config sys" rebar3 shell
Eshell V13.0  (abort with ^G)
1> application:ensure_all_started(quic_dist).
{ok,[quicer,quic_dist]}
2> application:set_env([{quic_dist, [{cert, "/path/to/cert.pem"}, {key, "/path/to/key.pem"}]}]).
ok
3> net_kernel:start('[email protected]', #{}).
{ok,<0.182.0>}
([email protected])4> net_adm:ping('[email protected]').
pong
([email protected])5> net_adm:ping('[email protected]').
pong
([email protected])6> net_adm:ping('[email protected]').
pong
([email protected])7> hello

([email protected])7>

Architecture

Supported platforms

Limited to platforms supported by quicer.

Resources

Most important

Additional

Open Source Agenda is not affiliated with "Quic Dist" Project. README Source: mickel8/quic_dist
Stars
42
Open Issues
8
Last Commit
1 year ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating