Suppr超能文献

评估Esper复杂事件处理引擎与消息代理的集成情况。

Evaluating the integration of Esper complex event processing engine and message brokers.

作者信息

Ortiz Guadalupe, Bazan-Muñoz Adrian, Lamersdorf Winfried, Garcia-de-Prado Alfonso

机构信息

UCASE Software Engineering Research Group, Department of Computer Science and Engineering, University of Cádiz, Puerto Real, Spain.

VSYS Distributed Systems Research Group, Department of Computer Science, University of Hamburg, Hamburg, Germany.

出版信息

PeerJ Comput Sci. 2023 Jul 12;9:e1437. doi: 10.7717/peerj-cs.1437. eCollection 2023.

Abstract

The great advance and affordability of technologies, communications and sensor technology has led to the generation of large amounts of data in the field of the Internet of Things and smart environments, as well as a great demand for smart applications and services adapted to the specific needs of each individual. This has entailed the need for systems capable of receiving, routing and processing large amounts of data to detect situations of interest with low latency, but despite the many existing works in recent years, studying highly scalable and low latency data processing systems is still necessary. In this area, the efficiency of complex event processing (CEP) technology is of particular significance and has been used in a variety of application scenarios. However, in most of these scenarios there is no performance evaluation to show how the system performs under various loads and therefore the developer is challenged to develop such CEP-based systems in new scenarios without knowing how the system will be able to handle different input data rates and address scalability and fault tolerance. This article aims to fill this gap by providing an evaluation of the various versions of one of the most reputable CEP engines-Esper CEP, as well as its integration with two renowned messaging brokers for data ingestion-RabbitMQ and Apache Kafka. For this purpose, we defined a benchmark with a series of event patterns with some of the most representative operators of the Esper CEP engine and we performed a series of tests with an increasing rate of input data to the system. We did this for three alternative software architectures: integrating open-source Esper and RabbitMQ, integrating one instance of Esper enterprise edition with Apache Kafka, and integrating two distributed instances of Esper enterprise edition with Apache Kafka. We measured the usage of CPU, RAM memory, latency and throughput time, looking for the data input rate with which the system overloads for each event pattern and we compared the results of the three proposed architectures. The results have shown a very low CPU consumption for all implementation options and input data rates; a balanced memory usage, quite similar among the three architectures, up to an input rate of 10,000 or 15,000 events per second, depending on the architecture and event pattern, and a quite efficient response time up to 10,000 or 15,000 events per second, depending on the architecture and event pattern. Based on a more exhaustive analysis of results, we have concluded that the different options offered by Esper for CEP provide very efficient solutions for real-time data processing, although each with its limitations in terms of brokers to be used for data integration, scalability, and fault tolerance; a number of suggestions have been drawn out for the developer to take as a basis for choosing which CEP engine and which messaging broker to use for the implementation depending on the of the system in question.

摘要

技术、通信和传感器技术的巨大进步以及可承受性,已在物联网和智能环境领域催生了大量数据,同时也对适应个人特定需求的智能应用和服务产生了巨大需求。这就需要能够接收、路由和处理大量数据以低延迟检测感兴趣情况的系统,尽管近年来已有许多相关工作,但研究高度可扩展且低延迟的数据处理系统仍然很有必要。在这一领域,复杂事件处理(CEP)技术的效率尤为重要,并已应用于各种应用场景。然而,在大多数这些场景中,没有性能评估来展示系统在各种负载下的表现,因此开发者在新场景中开发基于CEP的系统时面临挑战,因为他们不知道系统将如何处理不同的输入数据速率以及解决可扩展性和容错性问题。本文旨在通过对最著名的CEP引擎之一——Esper CEP的不同版本进行评估,以及评估其与用于数据摄取的两个知名消息代理——RabbitMQ和Apache Kafka的集成来填补这一空白。为此,我们定义了一个基准,其中包含一系列事件模式以及Esper CEP引擎的一些最具代表性的运算符,并对系统输入数据速率不断增加的情况进行了一系列测试。我们针对三种替代软件架构进行了上述操作:集成开源Esper和RabbitMQ、将Esper企业版的一个实例与Apache Kafka集成,以及将Esper企业版的两个分布式实例与Apache Kafka集成。我们测量了CPU、内存的使用情况、延迟和吞吐量时间,寻找每个事件模式下系统过载的数据输入速率,并比较了三种提议架构的结果。结果表明,对于所有实现选项和输入数据速率,CPU消耗都非常低;内存使用情况较为平衡,三种架构之间非常相似,每秒输入速率可达10000或15000个事件,具体取决于架构和事件模式,并且每秒可达10000或15000个事件时响应时间相当高效,具体取决于架构和事件模式。基于对结果更详尽的分析,我们得出结论,Esper为CEP提供的不同选项为实时数据处理提供了非常高效的解决方案,尽管在用于数据集成的代理、可扩展性和容错性方面各有局限;已为开发者提出了一些建议,以便他们根据所讨论系统的情况,以此为基础选择用于实现的CEP引擎和消息代理。

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验