tsung安裝完畢後,bin下面的tsung腳本中有:
html
PROTO_DIST=" -proto_dist inet_tcp "
查看erl的命令行參量沒發現,google了一番,發現這個proto_dist選項是用在erlang分佈式校驗時有效的。node
參考:4 Using SSL for Erlang Distributionshell
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校驗。app
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後綴。tcp