You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mnemonic.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2017/02/28 07:07:45 UTC

[jira] [Commented] (MNEMONIC-104) Create a Durable Map

    [ https://issues.apache.org/jira/browse/MNEMONIC-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15887444#comment-15887444 ] 

ramkrishna.s.vasudevan commented on MNEMONIC-104:
-------------------------------------------------

[~qichfan]
can you tell more about this map?
So can we just write any generic object and retrieve it back? Also how is the flush guarentee (sync) for these structures? Can we 100% say that once a map.put()is completed the data is persisted on the underlying storage? 
Is there any replication planned for this data structure? Thanks.

> Create a Durable Map
> --------------------
>
>                 Key: MNEMONIC-104
>                 URL: https://issues.apache.org/jira/browse/MNEMONIC-104
>             Project: Mnemonic
>          Issue Type: New Feature
>          Components: Collection
>    Affects Versions: 0.4.0-incubating
>            Reporter: Wang, Gang
>            Assignee: Johnu George
>             Fix For: 0.5.0-incubating
>
>
> A durable map (DM) would be a general key structure of Mnemonic collections. the durable map should be able to be recovered from any kind of memory services e.g. volatile/non-volatile without doing heavily serDe operations, in addition, DM is required to load its data lazily to amortize memory/IO/CPU consumption. at the first stage, the DM could be implemented using most feasible approach, e.g. Hashmap, and not necessary to comply with the interface of Java Map, but the Key/Value of DM should support generic types as Durable list does. 
> the DM aims to manage huge amount of mutable key-value datasets, so the design of Durable map should be flexible enough as possible to accommandate future optimizations. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)