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]>
Reply-To: "[email protected]" <[email protected]>
Date: Wednesday, October 26, 2016 at 2:31 PM
To: "[email protected]" <[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

Reply via email to