Storm has support for a Redis-backed map state: https://github.com/apache/storm/blob/master/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisMapState.java <https://github.com/apache/storm/blob/master/external/storm-redis/src/main/java/org/apache/storm/redis/trident/state/RedisMapState.java>
-Taylor > On Oct 26, 2016, at 5:17 AM, Dinesh Babu K G <[email protected]> wrote: > > Thanks Arun. Does storm recommend any specific in-memory store for > persistence? I see memached given as an example in the storm documentation > but no word about other stores. > > On Wed, Oct 26, 2016 at 2:37 PM Arun Mahadevan <[email protected] > <mailto:[email protected]>> wrote: > > > MemoryMapState is more for testing and does not provide any persistence. It > uses a HashMap internally. If you want persistence you need use the one based > on redis or other. > > > > Thanks, > > Arun > > > > From: Dinesh Babu K G <[email protected] <mailto:[email protected]>> > Reply-To: "[email protected] <mailto:[email protected]>" > <[email protected] <mailto:[email protected]>> > Date: Wednesday, October 26, 2016 at 2:31 PM > To: "[email protected] <mailto:[email protected]>" > <[email protected] <mailto:[email protected]>> > Subject: When to use MemoryMapState while performing a persistentAggregate in > Trident? > > > > Hi all, > > > > I would like to understand when to use MemoryMapState v/s using a state that > is based on a in-memory data store (like memcached, redis or aerospike) while > doing persistentAggregate() in Trident. > > > > Are there any pros & cons between the two approaches? > > > > Thanks, > > Dinesh Babu K.G >
signature.asc
Description: Message signed with OpenPGP using GPGMail
