Search the web
Sign In
New User? Sign Up
CEP-Interest · Event Processing Technologies
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How would you solve this simple problem?   Message List  
Reply | Forward Message #2008 of 2137 |
Re: How would you solve this simple problem?


Hi Luis,

Of course this is an event processing problem. You just did not word
it in a way to make it sound like one for the EP crowd, LOL:

Event A: "Company X stock actions priced above $70 during any moment
of the last 5 minutes"

Of course this is an event, and of course it is an event processing
problem, if you are processing detecting Event A as an event causal to
a complex event.

In detecting security issues the same is also true:

Event B: "Login from IP address X during any moment of the last 3
weeks before Login from IP address Y"

This might be a very serious event!

In trouble shooting networks here is a similar, but different scenario:

Event C: "Router X down 5 minutes before Application Y goes down and
Application Y down 10 minutes before Application Z alarm."

If vendor software can't detect these types of relatively simple
scenarios, then how can you build more complex ones?

That is why, for example, network and security management detection
and troubleshooting issues are quite complex, and also why most of the
early CEP work was in the area of network and security management ;-)
These are CEP classes of problems, without a doubt.

Yours faithfully,

Tim

www.thecepblog.com
www.unix.com


--- In CEP-Interest@yahoogroups.com, "pureza_l" <pureza_l@...> wrote:
>
> Hi,
>
> I have the good old StockTrades stream with two fields: symbol and
> price. I'm trying to answer the following question "Were Company X
> stock actions priced above $70 during any moment of the last 5
minutes?".
>
> Unfortunately, using a simple time-based sliding window won't work. To
> see why, imagine there were only two price updates: the first, at
> 10:54 am stated that stocks were at $71. The second, 2 minutes later,
> notified that the stocks went down to $69. Now imagine that the above
> question was posed at 11:00 am (of the same day). We, humans, know
> that the answer is "yes" because the price was $71 between 10:54 and
> 10:56. But the first event is outside the 5 minutes window and will
> thus be ignored by the system.
>
> How would you solve this?
>
> Thanks,
>
> Lu�s Pureza
>





Tue Jan 6, 2009 5:30 pm

tim_tibco
Offline Offline
Send Email Send Email

Forward
Message #2008 of 2137 |
Expand Messages Author Sort by Date

Hi, I'll try to answer your questions. ... Yes. ... I purposely described the query as a static, ad-hoc one, to simplify. But you may as well want to perform...
Luis Pureza
pureza_l
Offline Send Email
Jan 6, 2009
3:43 pm

Hi Luis, Of course this is an event processing problem. You just did not word it in a way to make it sound like one for the EP crowd, LOL: Event A: "Company X...
Tim Bass
tim_tibco
Offline Send Email
Jan 6, 2009
5:31 pm

Tim, ... Is this just an obtuse way of agreeing that the problem as posed isn't an event processing problem without seeming to agree? :-) ... Being pedantic,...
Brian Connell
cep_ws_bam
Offline Send Email
Jan 6, 2009
5:56 pm

I'm enjoying this discussion. anyone else notice that a slight change in the semantics of the patterns ends up changing the problem? Phrased one way, the...
Peter Lin
woolfel
Offline Send Email
Jan 6, 2009
6:08 pm

So in all this, there seems to be exactly one piece classification that comes with any kind of real theory on why it matters. On one hand, we might interpret...
hansgilde
Offline Send Email
Jan 6, 2009
9:17 pm

If I read the response correctly, I think we are mostly in agreement. from my perspective, classifying a problem as EP or not isn't important. what matters...
Peter Lin
woolfel
Offline Send Email
Jan 6, 2009
9:45 pm

... "Was IP address X logged in anytime during the 3 weeks before IP address Y logged in". Brian...
Brian Connell
cep_ws_bam
Offline Send Email
Jan 6, 2009
6:00 pm

Hello all, very interesting discussion clearly showing the limitations of (timed) windows and data streaming/continuous queries approaches to CEP. I am with...
PatternStorm
claudi_p
Offline Send Email
Jan 7, 2009
1:22 am

I can see some benefits to modeling this way and in this particular example, your sequence technique looks to be complimentary with the streaming SQL approach....
hansgilde
Offline Send Email
Jan 7, 2009
3:50 am

Well, not really ... First: When you reduce the problem to simple 5 minute sliding windows, yes it looks like a streaming SQL approach. However, the vast ...
Tim Bass
tim_tibco
Offline Send Email
Jan 7, 2009
5:53 pm

Yes, in real-world things does not happen in neat-little 5 minute windows. You'll get minutes of in-activity and then thousands of ticks in a fraction of a...
Fatih Ildiz
fildiz57
Offline Send Email
Jan 7, 2009
6:10 pm
 First  |  |  Next > Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help