首页> 外文期刊>Software >Thread transparency in information flow middleware
【24h】

Thread transparency in information flow middleware

机译:信息流中间件中的线程透明性

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

摘要

Applications that process continuous information flows are challenging to write because the application programmer must deal with flow-specific concurrency and timing requirements, necessitating the explicit management of threads, synchronization, scheduling and timing. We believe that middleware can ease this burden, but many middleware platforms do not match the structure of these applications, because they focus on control-flow centric interaction models such as remote method invocation. Indeed, they abstract away from the very things that the information-flow centric programmer must control. This paper describes Infopipes―a new high-level abstraction for information flow applications―and a middleware framework that supports them. Infopipes handle the complexities associated with control flow and multi-threading, relieving the programmer of these tasks. Starting from a high-level description of an information flow pipeline, the framework determines which parts of a pipeline require separate threads or coroutines, and handles synchronization transparently to the application programmer. The framework also gives the programmer the freedom to write or reuse components in a passive style, even though the configuration will actually require the use of a thread or coroutine. Conversely, it is possible to write a component using a thread and know that the thread will be eliminated if it is not needed in a pipeline. This allows the most appropriate programming model to be chosen for a given task, and existing code to be reused irrespective of its activity model.
机译:处理连续信息流的应用程序编写起来很困难,因为应用程序程序员必须处理特定于流的并发性和时序要求,这需要对线程,同步,调度和时序进行显式管理。我们相信中间件可以减轻这种负担,但是许多中间件平台与这些应用程序的结构不匹配,因为它们专注于以控制流为中心的交互模型,例如远程方法调用。实际上,他们从以信息流为中心的程序员必须控制的事物中抽象出来。本文介绍了Infopipes(信息流应用程序的新的高级抽象)以及支持它们的中间件框架。 Infopipe处理与控制流和多线程相关的复杂性,从而减轻了程序员的工作负担。从对信息流管道的高级描述开始,框架确定管道的哪些部分需要单独的线程或协程,并对应用程序程序员透明地处理同步。该框架还使程序员可以自由地以被动方式编写或重用组件,即使该配置实际上需要使用线程或协程。相反,可以使用线程编写组件,并且知道如果不需要管道,则将消除该线程。这允许为给定的任务选择最合适的编程模型,并且无论其活动模型如何,都可以重用现有代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号