dist

xiaoxiao2022-12-03  250

Normally, connections are established automatically when another node is referenced(也就是说给节点发信息 ping rpc等等). This functionality can be disabled by setting the Kernel configuration parameter [color=red]dist_auto_connect[/color] to false, see kernel(6). In this case, connections must be established explicitly by calling net_kernel:connect_node/1. 这个参数保证了只是你想explictly连接的节点才在你的nodes()列表里面.因为不需要的节点需要维护 发tick包什么的 浪费资源! 节点间如何established automatically请参考另外一篇 [url]http://mryufeng.iteye.com/admin/blogs/120666[/url]
转载请注明原文地址: https://www.6miu.com/read-4979250.html

最新回复(0)