论坛首页 综合技术论坛

dist_auto_connect的作用

浏览 1345 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2009-03-04  
Normally, connections are established automatically when another node is referenced(也就是说给节点发信息 ping rpc等等). This functionality can be disabled by setting the Kernel configuration parameter dist_auto_connect 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请参考另外一篇 http://mryufeng.iteye.com/admin/blogs/120666
论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics