BaseStatefulBolt (Storm Core) vs StateFactory (Storm Trident) -


i confused using storm. going measure status of data source using streamed data. status calculated combine of fields, , these field can achieved different time interval. that's why need save fields measure status of data source.

can use basestatefulbolt? or solution trident cenario?

what difference btw them. because there statefactory inside trident too.

thank you.

i think difference trident higher level basestatefulbol, has options counting group by,persistentaggregate,aggregate .

i have used trident counting total view per user. if care current total count, think can use trident using memorymapstate.factory() , class implement action counting or summing.

in case need managing status of current fields , think implement basestatefulbolt choice, has keyvaluestate save current state.


Comments

Popular posts from this blog

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -

python - PyInstaller UAC not working in onefile mode -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -