Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Scalable Event Processing with WSO2CEP @ WSO2Con2015eu
1.
2. ● Complex Event Processing
What ?
Why ?
● WSO2 Complex Event Processor
Scalability
Edge Computing
● Usecases
● What’s new is WSO2 CEP 4.0 ?
3.
4.
5.
6. ● Amount of data you analyse are big
● You don’t need data for long time
● You don’t want to store all the data
● Time critical analysis
○ Finding opportunities before they’re gone
○ Identify threats beforehand
7.
8.
9. • Filters & Transformations
• Windows and Aggregations
• Joins
• Sequences and Patterns
• Event Tables
10. Stateless
• Filters & Transformations
Stateful Inmemory
• Windows and Aggregations
• Joins
• Sequences and Patterns
Stateful Persisted
• Event Tables
22. Advantages
• Supports distributed processing
• Supports Partitioning
• Extendable
• Open Source
Disadvantages
• Need to write Java code
• Need to start from basic principles ( & data structures )
• Adoption for change is slow
• No support to govern artifacts
23. Advantages
• Supports distributed processing
• Supports Partitioning
• Extendable
• Open Source
Disadvantages
• No need to write Java code (Supports SQL like query
language)
• No need to start from basic principles (Supports high level
language)
• Adoption for change is fast
• Govern artifacts using Toolboxes
• etc ...
24.
25.
26.
27.
28. define stream StockStream
(symbol string, volume int, price double);
@name(‘Filter Query’)
from StockStream[price > 75]
select *
insert into HighPriceStockStream ;
@name(‘Window Query’)
from HighPriceStockStream#window.time(10 min)
select symbol, sum(volume) as sumVolume
insert into ResultStockStream ;
29. define stream StockStream
(symbol string, volume int, price double);
@name(‘Filter Query’)
from StockStream[price > 75]
select *
insert into HighPriceStockStream ;
@name(‘Window Query’)
partition with (symbol of HighPriceStockStream)
begin
from HighPriceStockStream#window.time(10 min)
select symbol, sum(volume) as sumVolume
insert into ResultStockStream ;
end;
30. define stream StockStream
(symbol string, volume int, price double);
@name(Filter Query’)
@dist(parallel= ‘3')
from StockStream[price > 75]
select *
insert into HightPriceStockStream ;
@name(‘Window Query’)
@dist(parallel= ‘2')
partition with (symbol of HighPriceStockStream)
begin
from HighPriceStockStream#window.time(10 min)
select symbol, sum(volume) as sumVolume
insert into ResultStockStream ;
end;