Re:An Introduction to Reactive Programming
by mattpodwysocki on Monday June 30, 2014 @04:37PM
(#7967544)
Using Rx, you can certainly do CEP as we have buffer and window operators, and the ability to so groupBy and other complex operators. For example we have one that analyzes stock streams https://github.com/Reactive-Extensions/NDC-Oslo-2014/blob/ma...
Re:An Introduction to Reactive Programming
by canterburry on Monday June 30, 2014 @07:03PM
(#7968215)
So, are you saying Rx is the superset and CEP is a subset of Rx functionality? What can you do in Rx that you can't do in CEP?
Re:An Introduction to Reactive Programming
by mattpodwysocki on Tuesday July 01, 2014 @12:03PM
(#7971597)
I would certainly say that Rx has a superset of the operators in standard CEP which largely deals with buffers and windows, yes. In addition, we have time-based join and group join behavior, join calculus eg:
Rx.Observable.when(
stream1.and(stream2).then(...),
stream3.and(stream4).then(...)
);
The real trick is working with historical events and fetch them from disk, otherwise your reasoning time window is restricted to whatever fits in RAM.