CAPSULE: language and system support for efficient state sharing in distributed stream processing systems

Giuliano Losa, Vibhore Kumar, H. Andrade, B. Gedik, Martin Hirzel, R. Soulé, Kun-Lung Wu
{"title":"CAPSULE: language and system support for efficient state sharing in distributed stream processing systems","authors":"Giuliano Losa, Vibhore Kumar, H. Andrade, B. Gedik, Martin Hirzel, R. Soulé, Kun-Lung Wu","doi":"10.1145/2335484.2335514","DOIUrl":null,"url":null,"abstract":"Data stream processing applications are often expressed as data flow graphs, composed of operators connected via streams. This structured representation provides a simple yet powerful paradigm for building large-scale, distributed, high-performance applications. However, there are many tasks that require sharing data across operators, and across operators and the runtime using a less structured mechanism than point-to-point data flows. Examples include updating control variables, sending notifications, collecting metrics, building collective models, etc. In this paper we describe CAPSULE, which fills this gap. CAPSULE is a code generation and runtime framework that offers an easy to use and highly flexible framework for developers to realize shared variables (CAPSULE term for shared state) by specifying a data structure (at the programming-language level), and a few associated configuration parameters that qualify the expected usage scenario. Besides the easy of use and flexibility, CAPSULE offers the following important benefits: (1) Custom Code Generation - CAPSULE makes use of user-specified configuration parameters and information from the runtime to generate shared variable servers that are tailored for the specific usage scenario, (2) Composability - CAPSULE supports deployment time composition of the shared variable servers to achieve desired levels of scalability, performance and fault-tolerance, and (3) Extensibility - CAPSULE provides simple interfaces for extending the CAPSULE framework with more protocols, transports, caching mechanisms, etc. We describe the motivation for CAPSULE and its design, report on its implementation status, and then present experimental results.","PeriodicalId":92123,"journal":{"name":"Proceedings of the ... International Workshop on Distributed Event-Based Systems. International Workshop on Distributed Event-Based Systems","volume":"41 1","pages":"268-277"},"PeriodicalIF":0.0000,"publicationDate":"2012-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the ... International Workshop on Distributed Event-Based Systems. International Workshop on Distributed Event-Based Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2335484.2335514","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

Data stream processing applications are often expressed as data flow graphs, composed of operators connected via streams. This structured representation provides a simple yet powerful paradigm for building large-scale, distributed, high-performance applications. However, there are many tasks that require sharing data across operators, and across operators and the runtime using a less structured mechanism than point-to-point data flows. Examples include updating control variables, sending notifications, collecting metrics, building collective models, etc. In this paper we describe CAPSULE, which fills this gap. CAPSULE is a code generation and runtime framework that offers an easy to use and highly flexible framework for developers to realize shared variables (CAPSULE term for shared state) by specifying a data structure (at the programming-language level), and a few associated configuration parameters that qualify the expected usage scenario. Besides the easy of use and flexibility, CAPSULE offers the following important benefits: (1) Custom Code Generation - CAPSULE makes use of user-specified configuration parameters and information from the runtime to generate shared variable servers that are tailored for the specific usage scenario, (2) Composability - CAPSULE supports deployment time composition of the shared variable servers to achieve desired levels of scalability, performance and fault-tolerance, and (3) Extensibility - CAPSULE provides simple interfaces for extending the CAPSULE framework with more protocols, transports, caching mechanisms, etc. We describe the motivation for CAPSULE and its design, report on its implementation status, and then present experimental results.
CAPSULE:对分布式流处理系统中高效状态共享的语言和系统支持
数据流处理应用程序通常表示为数据流图,由通过流连接的运算符组成。这种结构化表示为构建大规模、分布式、高性能的应用程序提供了简单而强大的范例。然而,有许多任务需要跨操作符共享数据,并且需要使用比点对点数据流更少结构化的机制跨操作符和运行时共享数据。示例包括更新控制变量、发送通知、收集度量标准、构建集体模型等。本文介绍了CAPSULE,它填补了这一空白。CAPSULE是一个代码生成和运行时框架,它为开发人员提供了一个易于使用和高度灵活的框架,通过指定数据结构(在编程语言级别)和一些符合预期使用场景的相关配置参数来实现共享变量(CAPSULE是共享状态的术语)。除了易于使用和灵活,CAPSULE还提供以下重要好处:(1)自定义代码生成——CAPSULE利用用户指定的配置参数和运行时的信息来生成针对特定使用场景量身定制的共享变量服务器;(2)可组合性——CAPSULE支持共享变量服务器的部署时组合,以达到所需的可伸缩性、性能和容错水平;(3)可扩展性——CAPSULE提供简单的接口,用于用更多协议扩展CAPSULE框架。传输、缓存机制等。本文介绍了CAPSULE的设计动机,介绍了其实现情况,并给出了实验结果。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信