Spark Streaming的基于属性的测试
Property-based testing for Spark Streaming
摘要:
流处理在过去几年中已经成为主流,因为新一代的开源分布式流处理系统,设计用于在商品硬件上水平扩展,为各种规模的公司带来了处理大容量和高速数据流的能力。在这项工作中,我们提出了一个组合的时序逻辑和基于属性的测试(PBT)处理的挑战,采用这种编程模型的测试程序。我们形式化我们的方法在一个离散时间的时间逻辑有限的话,一些补充,以提高表现力的属性,其中包括超时的时间运营商和字母的绑定操作。特别是,我们专注于使用PBT库ScalaCheck测试使用Spark API为函数式语言Scala编写的Spark Streaming程序。为此,我们将时态逻辑运算符添加到一组新的ScalaCheck生成器和属性中,作为我们测试库sscheck的一部分。逻辑程序设计理论与实践(TPLP)
英文摘要:
Stream processing has reached the mainstream in the last years, as a new generation of open source distributed stream processing systems, designed for scaling horizontally on commodity hardware, has brought the capability for processing high volume and high velocity data streams to companies of all sizes. In this work we propose a combination of temporal logic and property-based testing (PBT) for dealing with the challenges of testing programs that employ this programming model. We formalize our approach in a discrete time temporal logic for finite words, with some additions to improve the expressiveness of properties, which includes timeouts for temporal operators and a binding operator for letters. In particular we focus on testing Spark Streaming programs written with the Spark API for the functional language Scala, using the PBT library ScalaCheck. For that we add temporal logic operators to a set of new ScalaCheck generators and properties, as part of our testing library sscheck. Under consideration in Theory and Practice of Logic Programming (TPLP).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。