How does Erlang pass messages between processes on the same node?

前端 未结 2 1134
没有蜡笔的小新
没有蜡笔的小新 2021-01-17 17:49

Between nodes, message are (must be) passed over TCP/IP. However, by what mechanism are they passed between processes running on the same node? Is TCP/IP used in this case

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-17 18:14

    "All data in messages between Erlang processes is copied, with the exception of refc binaries on the same Erlang node.":

    http://erlang.org/doc/efficiency_guide/processes.html#id2265332

提交回复
热议问题