You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Raphael Hsieh <ra...@gmail.com> on 2014/06/10 18:22:34 UTC

is storm.trident LRUMap distributed among hosts?

Is the storm.trident.util.LRUMap distributed among all the hosts in the
storm cluster ?

if not, is there any way to combine this with a memcache ?

-- 
Raphael Hsieh

Re: is storm.trident LRUMap distributed among hosts?

Posted by Danijel Schiavuzzi <da...@schiavuzzi.com>.
No, it's not, but it doesn't have to be -- because Trident's groupBy
operation will always distribute the same keys to the same partition, each
CachedMap instance (using the LRUMap) will always cache the same keys so
the cache will always be consistent.

Danijel



On Tue, Jun 10, 2014 at 6:22 PM, Raphael Hsieh <ra...@gmail.com> wrote:

> Is the storm.trident.util.LRUMap distributed among all the hosts in the
> storm cluster ?
>
> if not, is there any way to combine this with a memcache ?
>
> --
> Raphael Hsieh
>
>
>
>



-- 
Danijel Schiavuzzi

E: danijel@schiavuzzi.com
W: www.schiavuzzi.com
T: +385989035562
Skype: danijels7