用于分布式算法编程的辅助库?

发布于 2024-07-22 05:45:32 字数 105 浏览 5 评论 0原文

当您编写分布式算法时,您是否使用任何库来对处理器、寄存器、消息、链接等抽象事物进行建模? 有没有图书馆可以做到这一点?

我正在考虑例如自稳定算法,例如自稳定最小生成树算法。

When you code a distributed algorithm, do you use any library to model abstract things like processor, register, message, link, etc.? Is there any library that does that?

I'm thinking about e.g. self-stabilizing algorithms, like self-stabilizing minimum spanning-tree algorithms.

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

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

发布评论

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

评论(3

沫雨熙 2024-07-29 05:45:32

有一个DVM系统,可用于实现不同的分布式算法。 它在 MPI 之上运行。

然而,它更适用于面向矩阵的科学算法,其中分布是根据数据块完成的。 我有过使用它的简短经验 - 它比直接使用 MPI 方便得多,并且允许编写更具可读性和可维护性的代码。

There's a DVM system that can be used for implementing different distributed algorithms. It works on top of MPI.

However it is more for matrix-oriented scientific algorithms where distribution is done in terms of data blocks. I had a brief experience using it - it's much more convenient than direct usage of MPI and allows for much more readable and maintainable code.

爱给你人给你 2024-07-29 05:45:32

您可能需要查看 OpenMP

You may want to check out OpenMP.

娇柔作态 2024-07-29 05:45:32

我想您可能会发现分布式 Apache 项目很有帮助:

  • Apache Hadoop 提供分布式文件系统和处理
  • Apache Zookeeper 是一个协调服务,它可能正合你的胃口。 它可以用作公共订阅机制。

还有 Java 并行处理框架,它抽象了整个机器及其组成,使您可以专注于处理。

取决于您的需求。

I think you might find the distributed Apache projects to be helpful:

  • Apache Hadoop provides distributed filesystems and processing
  • Apache Zookeeper is a coordination service, which might be right up your alley. It can be used as a public-subscribe mechanism.

There's also the Java Parallel Processing Framework which abstracts entire machines and their composition, allowing you to focus on the processing.

Depends on your needs.

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