-
Notifications
You must be signed in to change notification settings - Fork 21
Description
writing a chinese document about flowmix designment(not totally finished yet): http://zqhxuyuan.github.io/2015/07/26/2015-09-11-Flowmix-CEP/
hopefully can help someone.
@cjnolet After deep into flowmix source code, I also have some question:
AggregatorWindow is composed of Aggregator and Window,
And Aggregator is response for storing aggregate variable, while Window is storing original Event.
Normally there are PartitionOp before AggregatorOp to do some group by operation.
And as partition make sure One Partition corresponding One Window.
If Window store at most 1000 events, and there are 1000 partition, suppose One event take 1kb size
So windows memory in AggregateBolt take 1000Partition*1000kb=1GB.
So that's why Aggregator store temporary variable which is good at aggregate result.
my question is If Aggregator temporary variable is good enough,why do we need Window events?