用于分布式算法编程的辅助库?
当您编写分布式算法时,您是否使用任何库来对处理器、寄存器、消息、链接等抽象事物进行建模? 有没有图书馆可以做到这一点?
我正在考虑例如自稳定算法,例如自稳定最小生成树算法。
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
有一个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.
您可能需要查看 OpenMP。
You may want to check out OpenMP.
我想您可能会发现分布式 Apache 项目很有帮助:
还有 Java 并行处理框架,它抽象了整个机器及其组成,使您可以专注于处理。
取决于您的需求。
I think you might find the distributed Apache projects to be helpful:
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.