...
首页> 外文期刊>MSDN Magazine >Parallelizing Operations With Dependencies
【24h】

Parallelizing Operations With Dependencies

机译:有依赖关系的并行操作

获取原文
获取原文并翻译 | 示例
           

摘要

I have a system where multiple components need to be executed, but those components may have dependencies on each other. I'd like to be able to run these components in parallel where possible. How can I go about doing this?rnThis is a fairly common problem in the development of software, whether serial or parallel. In a sequential implementation, a common approach is to model the dependencies as a graph. Each component is represented by a node in the graph, and each dependency is represented by a directed edge between the two nodes sharing the dependency. This creates what's known as a Directed Acyclic Graph (DAG), assuming that there are no cycles (for example, component 1 depends on component 2, which depends on component 3, which depends back on component 1).
机译:我有一个系统,其中需要执行多个组件,但是这些组件可能彼此依赖。我希望能够在可能的地方并行运行这些组件。我该怎么做?这是软件开发中一个相当普遍的问题,无论是串行还是并行。在顺序实现中,一种常见的方法是将依赖关系建模为图形。每个组件由图中的一个节点表示,每个依赖项由共享该依赖关系的两个节点之间的有向边表示。假设没有循环(例如,组件1依赖于组件2,组件1依赖于组件3,而组件3依赖于组件1),则这将创建所谓的有向无环图(DAG)。

著录项

  • 来源
    《MSDN Magazine》 |2009年第4期|121-122124-126|共5页
  • 作者

    STEPHEN TOUB;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号