reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shravan Matthur Narayanamurthy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (REEF-1357) Allow different caching levels for caching in IInputPartition
Date Mon, 13 Jun 2016 21:40:04 GMT

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

Shravan Matthur Narayanamurthy commented on REEF-1357:
------------------------------------------------------

No I am not suggesting that each implementation have its own caching logic. I am suggesting
that other than maintaining a reference in memory, there isn't much caching that I foresee
will be needed and this can be easily done with an abstract class implementing just that functionality.
I do understand that the Caching abstraction you have would be nice to have and is not complicated
per-se. Just that I don't see any need for it.

> Allow different caching levels for caching in IInputPartition
> -------------------------------------------------------------
>
>                 Key: REEF-1357
>                 URL: https://issues.apache.org/jira/browse/REEF-1357
>             Project: REEF
>          Issue Type: Improvement
>          Components: IMRU, REEF.NET
>            Reporter: Andrew Chung
>            Assignee: Andrew Chung
>              Labels: FT
>
> Caching in {{IInputPartition}} is currently entirely dependent on the implementation
of the {{IInputPartition}}. We should modify/expand {{IInputPartition}} such that the data
loading component is fully separate from the caching component. An idea is to instead provide
only a single concrete {{IInputPartition}} implementation (while deprecating the old implementations)
and use the composition model, complete with an {{IDataLoader}} which fetches data back in
a {{Stream}}, and an {{IDataCache}}, which allows caching at granular levels.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message