• Stars
    star
    42
  • Rank 656,519 (Top 13 %)
  • Language
    Erlang
  • License
    Apache License 2.0
  • Created over 2 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

QUIC carrier for Erlang Distribution Protocol

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