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

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -