任何用于Erlang事件流(又称CEP)的实时关联/分析框架? [英] Any framework for real-time correlation/analysis of event-stream (aka CEP) in Erlang?

查看:243
本文介绍了任何用于Erlang事件流(又称CEP)的实时关联/分析框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想分析一个事件流,分享某些特征(一个共同的来源),并且在一个给定的时间窗口内,最终将这些多个事件相关联并从中抽出一些推论,最后启动一些动作。 / p>

我对复杂事件处理(CEP)的有限知识告诉我,它是这样的事情的理想选择。然而,在我的研究中,我发现人们与规则引擎和贝叶斯分类器进行比较,有时使用它们的组合。



想知道是否有 - -


  1. 要遵循的一些最佳做法(理想情况下由性能数据,性质/事件类型的描述支持)特别是在埃尔朗?


  2. Erlang是否拥有自己的CEP框架?


  3. 任何贝尔斯分类器库可用于Erlang?




来自Java世界的Esper似乎与我想要做的很接近,但是如果可能,我更愿意保留我的环境Erlang-only(或Erlang和C / C ++)。



指针,建议,指导 - 欢迎。



谢谢,



IC

解决方案

这可能是一个非分类,但无论如何:



Erlangs的优势之一是其在不同系统之间作为胶水的能力。您可以让Erlang VM坐在中间,并控制许多在其他进程中运行的子系统。鲁棒性来自重启这些系统的能力,如果它们崩溃。



对于分类问题,在一定程度上似乎可以与Erlang分开发生分类子系统。换句话说,您使用 erlang:open_port / 2 调用来打开另一个程序的端口并与其建立通信。关键是您的程序将知道端口是否崩溃,并可以相应地处理该问题。



我对Erlang库和工具的有限知识没有CEP工具在雷达上他们很难写自己吗?


Would like to analyze a stream of events, sharing certain characteristics (s.a. a common source), and within a given time-window, ultimately to correlate those multiple events and draw some inference from same, and finally launch some action.

My limited knowledge of Complex-Event-Processing (CEP) tells me that, it is the ideal candidate for such things. However in my research so far I found people compare that with Rule-Engines, and Bayesian Classifier, and sometimes using a combination of those.

Wanted to know if there are --

  1. some best-practices (ideally supported by performance data, and description of nature/type of events) to be followed, especially so in Erlang ?

  2. does Erlang have a CEP framework of it's own ?

  3. any Bayesian Classifier library available in Erlang ?

Esper from Java world seems to be quite close to what I'd like to do, but I'd prefer to keep my environment Erlang-only (or Erlang and C/C++ only) if possible.

Pointers, advice, guidance -- all welcome.

thanks,

IC

解决方案

This may be a nonsolution for you, but anyway:

One of Erlangs strengths to play is its ability to act as glue between different systems. You let the Erlang VM sit in the middle and control a number of subsystems running in other processes. The robustness comes from the ability to restart those systems should they crash.

For a classification problem, it would seem to a certain extent that the classification could happen separately from the Erlang subsystem. In other words, you use the erlang:open_port/2 call to open a port to the other program and set up communication with it. The point is that your program will know if the port crashes and can act accordingly to the problem.

My limited knowledge of Erlang libraries and tools out there has no CEP-tools on the radar. Are they hard to write yourself?

这篇关于任何用于Erlang事件流(又称CEP)的实时关联/分析框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆