You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Edward Ribeiro (JIRA)" <ji...@apache.org> on 2010/07/01 17:57:53 UTC
[jira] Issue Comment Edited: (CASSANDRA-1016) Plugins
[ https://issues.apache.org/jira/browse/CASSANDRA-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884327#action_12884327 ]
Edward Ribeiro edited comment on CASSANDRA-1016 at 7/1/10 11:55 AM:
--------------------------------------------------------------------
Jeff,
What about using a CopyOnWriteArrayList<WriteCallback> instead of using a ArrayList?
If the writeCallbacks list is read heavy then CopyOnWriteArrayList is better because 1) you get a concurrent list cheaply and 2) you avoid ConcurrentModificationException being ever thrown. Just a suggestion. :)
Regards,
Ed
was (Author: eribeiro):
Jeff,
What about using a CopyOnWriteArrayList<WriteCallback> instead of using a ArrayList?
If the writeCallbacks list is read heavy then CopyOnWriteArrayList is better because 1) you can an concurrent list cheaply and 2) you avoid ConcurrentModificationException being ever thrown.
Regards,
Ed
> Plugins
> -------
>
> Key: CASSANDRA-1016
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1016
> Project: Cassandra
> Issue Type: New Feature
> Affects Versions: 0.6.1
> Reporter: Ryan King
> Assignee: Jeff Hodges
> Attachments: CASSANDRA-1016-2.patch, CASSANDRA-1016.patch
>
>
> As discussed at the Digg-hosted hackathon.
> First off, this needs a better name, the idea isn't exactly like coprocessors from BigTable and this entry should be considered a stub for now (Stu and Marius should be able to provide more details).
> The idea is that for mutation operations, we should all the user to run a routine that has access to the "old" version of the data and the "new" version, and can take action.
> At a bare minimum, this should be capable of implementing distributed secondary indexes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.