简体   繁体   English

使用LAN在CEP引擎和流数据生成器之间传输数据的最佳方法是什么?

[英]What is the best way to transfer data between CEP engine and stream data generator with in LAN?

I'm new to Complex event processing(CEP) systems, using one of the CEP engine called Esper to detect event patterns in smart buildings. 我是复杂事件处理(CEP)系统的新手,它使用一种称为Esper的CEP引擎来检测智能建筑中的事件模式。 Different sensors assumed and implemented data generators for them. 不同的传感器为它们假设并实现了数据生成器。 I would like to measure performance of my system. 我想评估系统的性能。 Whole implementation is in java so what is the best way to transfer stream data from different data generators to my CEP system with in LAN. 整个实现是在Java中进行的,因此使用LAN将流数据从不同的数据生成器传输到我的CEP系统的最佳方法是什么。

should I use UDP or TCP ?? 我应该使用UDP还是TCP? Threading is required? 需要穿线吗? because of many sensors assumed. 因为假设有许多传感器。

You asked your question many months ago, but I will make some comments anyway. 您在几个月前就问过您的问题,但是我还是会提一些意见。 From what I read, it seems to me that (as of March 2015...) 根据我的阅读,在我看来(截至2015年3月...)

  • the ingest protocol to use is AMQP 使用的摄取协议是AMQP
  • data flow and scaling should be managed by Apache Storm or Spark 数据流和扩展应由Apache Storm或Spark管理
  • for resilience, use some sort of message queue - eg RabbitMQ, Kafka, Azure EventHubs, AWS Kinesis 为了提高弹性,请使用某种消息队列-例如RabbitMQ,Kafka,Azure EventHubs,AWS Kinesis

I'm pretty sure you can use all these technologies from the Java ecosystem. 我很确定您可以使用Java生态系统中的所有这些技术。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在服务器和客户端套接字之间传输XML数据的最佳方法 - Best way to transfer XML data between server and client sockets 在BlackBerry上传输数据的最佳方法 - Best way to transfer data on BlackBerry 在不同的JUnit测试类之间共享数据的最佳方法是什么 - What is the best way to share data between different JUnit test classes 在不同服务器上运行的两个Java Web应用程序之间传输数据的最佳方法 - Best way to transfer data between two Java web applications running on different servers 在活动之间共享数据的最佳方式是什么? - What's the best way to share data between activities? 在 Android Wear OS(即 CSV)上保存和传输智能手表传感器数据的最佳方式是什么? - What is the best way to save and transfer smartwatch sensor data on Android Wear OS (i.e. as CSV)? 如何将新事件添加到Flink CEP数据流? - how to add new event to flink CEP data stream? 在Google App Engine中使用Java,什么是存储和访问大型静态数据的最佳方法? - Using Java in Google App Engine, what's the best way to store and access large, static data? 在一个流数据上并行处理Flink CEP中的多个模式 - Processing multiple patterns in Flink CEP in Parallel on One stream data Java / XML:动态解码/解压缩数据流的最佳方法是什么? - Java/XML: What's the best way to decode/decompress a stream of data on the fly?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM