Erlang 的元组空间分布式计算范例

发布于 2024-10-02 05:05:33 字数 194 浏览 0 评论 0原文

有几种语言实现元组空间: http://en.wikipedia.org/wiki/Tuple_space

有没有人在 Erlang 中使用元组空间作为分布式计算的模块通信/消息传递的手段;如果是这样,您的经验是什么?

There are several languages that implement tuple spaces: http://en.wikipedia.org/wiki/Tuple_space

Has anyone worked with tuple spaces in Erlang as a means of module communication/message passing for distributed computing; if so, what is your experience?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

素罗衫 2024-10-09 05:05:33

我对元组空间的看法可能是错误的,但 ETS 看起来它符合节点本地基础上的定义,而 mnesia 位于顶部,它将以分布式方式符合定义。我可能会补充说,许多 Erlang 应用程序以某种方式使用 ETS。

是否合适取决于您想要存储数据的数量和方式。

I may be wrong about tuple spaces, but ETS looks like it fits the definition on a node-local basis and with mnesia on top it would fit the definition in a distributed fashion. Many Erlang applications use ETS some way or the other, I might add.

If it is suitable depends on how much and how you want to store data.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文