arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.07724cs.DC
收藏

Apache Spark Streaming、Kafka和HarmonicIO:企业和科学计算的性能基准和架构比较

Apache Spark Streaming, Kafka and HarmonicIO: A Performance Benchmark and Architecture Comparison for Enterprise and Scientific Computing

Ben Blamey, Andreas Hellander, Salman Toor

摘要:

本文提出了一个流处理吞吐量的基准比较Apache Spark Streaming(基于文件,TCP套接字和Kafka的流集成),与原型P2P流处理框架,HarmonicIO。测量了一系列流处理负载的最大吞吐量,特别是那些具有大消息大小(高达10 MB)和重CPU负载的负载-比企业上下文更典型的科学计算用例(如显微镜)。这些流媒体源的性能特征的详细探索,在不同的负载下,揭示了性能权衡的相互作用,揭示了每个框架和流媒体源集成的良好性能的边界。我们比较了每种情况下的理论界。基于这些结果,我们建议哪些框架和流媒体源可能为给定的负载提供良好的性能。从广义上讲,Spark丰富的功能集的优势是以对消息大小的敏感性为代价的,特别是-常见的流源集成在1 MB-10 MB范围内表现不佳。HarmonicIO的简单性在该区域提供了更强大的性能,特别是在原始CPU利用率方面。

英文摘要:

This paper presents a benchmark of stream processing throughput comparing Apache Spark Streaming (under file-, TCP socket- and Kafka-based stream integration), with a prototype P2P stream processing framework, HarmonicIO. Maximum throughput for a spectrum of stream processing loads are measured, specifically, those with large message sizes (up to 10MB), and heavy CPU loads -- more typical of scientific computing use cases (such as microscopy), than enterprise contexts. A detailed exploration of the performance characteristics with these streaming sources, under varying loads, reveals an interplay of performance trade-offs, uncovering the boundaries of good performance for each framework and streaming source integration. We compare with theoretic bounds in each case. Based on these results, we suggest which frameworks and streaming sources are likely to offer good performance for a given load. Broadly, the advantages of Spark's rich feature set comes at a cost of sensitivity to message size in particular -- common stream source integrations can perform poorly in the 1MB-10MB range. The simplicity of HarmonicIO offers more robust performance in this region, especially for raw CPU utilization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑