首页> 外国专利> Automatic exploitation of data parallelism in streaming applications

Automatic exploitation of data parallelism in streaming applications

机译:流应用程序中数据并行性的自动利用

摘要

An embodiment of the invention provides a method for exploiting stateless and stateful data parallelism in a streaming application, wherein a compiler determines whether an operator of the streaming application is safe to parallelize based on a definition of the operator and an instance of the definition. The operator is not safe to parallelize when the operator has selectivity greater than 1, wherein the selectivity is the number of output tuples generated for each input tuple. Parallel regions are formed within the streaming application with the compiler when the operator is safe to parallelize. Synchronization strategies for the parallel regions are determined with the compiler, wherein the synchronization strategies are determined based on the definition of the operator and the instance of the definition. The synchronization strategies of the parallel regions are enforced with a runtime system.
机译:本发明的实施例提供了一种用于在流传输应用中利用无状态和有状态数据并行性的方法,其中,编译器基于运算符的定义和该定义的实例来确定流应用的运算符是否可以安全地并行化。当操作员的选择性大于1时,操作员不安全进行并行化,其中选择性是为每个输入元组生成的输出元组的数量。当操作员可以安全地并行化时,并行区域将在流式应用程序中与编译器一起形成。并行区域的同步策略是由编译器确定的,其中,同步策略是根据运算符的定义和定义的实例确定的。并行区域的同步策略由运行时系统强制执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号