tsung安装完毕后,bin下面的tsung脚本中有:
PROTO_DIST=" -proto_dist inet_tcp "
查看erl的命令行参量没发现,google了一番,发现这个proto_dist选项是用在erlang分布式校验时有效的。
参考:4 Using SSL for Erlang Distribution
The Erlang distribution can in theory use almost any connection-based protocol as bearer.
However, a module that implements the protocol-specific parts of the connection setup is needed.
The default distribution module isinet_tcp_dist in the Kernel application.
When starting an Erlang node distributed, net_kernel uses this module to set up listen ports and connections.
暂时erlang只支持tcp和tls校验。
The argument to -proto_dist is to be the module name without suffix _dist.
So, this distribution module is specified with -proto_dist inet_tls on the command line.
使用这个选项,后面的模块名要自带_dist后缀。