storm caching in topology level available for all bolts

609 views Asked by At

,but I need cache to retrieve the data from database and put it in cache.So the I compare the cache with incoming tuples.Based on that I can proceed to next.That cache should be refreshed based on given time .What cache should I implement,so that all bolts use that single cache. NOTE:If I implement cache in bolt level the bolts are executed in each machine.So that all bolts are maintain each cache.So that I need topology level so that all bolts uses single cache. If anyone know this tell me.

1

There are 1 answers

3
Ilya Lapitan On BEST ANSWER

You should use a tick tuples for it. Please, see an article below it describes all that you needed. http://kitmenke.com/blog/2014/08/04/tick-tuples-within-storm/