You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by 唐思成 <ja...@qq.com> on 2014/10/29 04:17:27 UTC
回复:How to store the intermediate result in a topology?
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.
------------------ 原始邮件 ------------------
发件人: "姚驰";<ya...@163.com>;
发送时间: 2014年10月28日(星期二) 晚上7:57
收件人: "user"<us...@storm.apache.org>;
主题: 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.