You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yi Pan (Data Infrastructure) (JIRA)" <ji...@apache.org> on 2015/05/04 22:20:07 UTC

[jira] [Commented] (SAMZA-647) A new KeyValueStore interface should support getAll(List)

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

Yi Pan (Data Infrastructure) commented on SAMZA-647:
----------------------------------------------------

[~elgeish], thanks! I have left a comment on RB. All tests passed w/ the latest patch. Thanks for fixing the Finalizer issue in the test!.

The perf figure is yet not clear to me how much we gain. It would be easier to read if we can summarize the samples in more concise conclusion.

Thanks!

> A new KeyValueStore interface should support getAll(List<K>)
> ------------------------------------------------------------
>
>                 Key: SAMZA-647
>                 URL: https://issues.apache.org/jira/browse/SAMZA-647
>             Project: Samza
>          Issue Type: Improvement
>          Components: kv
>    Affects Versions: 0.9.0
>            Reporter: Mohamed Mahmoud (El-Geish)
>            Assignee: Mohamed Mahmoud (El-Geish)
>              Labels: features
>             Fix For: 0.10.0
>
>         Attachments: BatchingKeyValueStore.diff, build-1.err_pid49877.log, build.log, getAllPerf.png
>
>
> For stores that support multiGet, like RocksDB, this can improve performance when batch querying; this could be simply implemented as a pass-through call to the underlying storage engine.
> For stores that don't support multiGet, we can simply return an iterator for the corresponding values by looping over keys and calling get() for each one.



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