A way to handle this kind of problem is to use a tick tuple, you can config a bolt to receive a tick tuple every 5 minutes.
------------------ ???????? ------------------ ??????: "????";<[email protected]>; ????????: 2014??10??28??(??????) ????7:57 ??????: "user"<[email protected]>; ????: How to store the intermediate result in a topology? Hi all, when I used storm to do something like computing the active users count in the last 5 minutes, I wandered if there is any best practice about storing the intermediate result within the topology, I mean, some practical way instead of using something like a map in the examples. In my job, should I just put everything into caches like redis or memcached? If there are any ideas, please tell me. Thanks for your help.
