accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-2570) Consider API additions to support non-batch oriented reads/writes
Date Mon, 28 Apr 2014 19:38:16 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser updated ACCUMULO-2570:
---------------------------------

    Issue Type: Sub-task  (was: Improvement)
        Parent: ACCUMULO-2589

> Consider API additions to support non-batch oriented reads/writes
> -----------------------------------------------------------------
>
>                 Key: ACCUMULO-2570
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2570
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: client, tserver
>            Reporter: Josh Elser
>            Priority: Trivial
>
> Primary Read API : Scanner and BatchScanner
> Primary Write API: BatchWriter
> Both the Read calls are oriented to a scanning a collection of key-values (unless someone
knows of the Range.exact method), and have internals that are focused on multiple, repeated
fetching of batches.
> For writes, Mutations are buffered internally and are focused around sending batches
of updates.
> While these classes do support pointed accesses (write a single Mutation, get the Value
from a single Key), the API is not succinct and may incur unnecessary penalty due to the implementation
also needing to support batch operations.
> It would be nice to consider some new access patterns that are more focused around very
pointed accesses that reduce the API complexity for simple cases. Extremely hypothetical example
> {code}
>   Value v = connector.get("tableName", new Key("row", "cf", "cq", "viz");
>   connector.put("tableName", new Key("row", "cf", "cq", "viz"), new Value("value"));
> {code}
> The implementation could focus on specifically handling this pointed accesses in the
most efficient way without worrying about also handling batch operations.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message