cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1481) PropertyFileEndPointSnitch synchronization is a bottleneck
Date Wed, 08 Sep 2010 14:13:34 GMT

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

Jonathan Ellis updated CASSANDRA-1481:
--------------------------------------

    Attachment: 1481-v2.txt

v2 eliminates the Properties field to emphasize that the hashmap is the source of truth, and
simplifies parsing by using string.split (since parsing is now done only once, it's ok to
be a bit less efficient).

> PropertyFileEndPointSnitch synchronization is a bottleneck
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-1481
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1481
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.6
>            Reporter: Jonathan Ellis
>            Assignee: Chris Goffinet
>            Priority: Minor
>             Fix For: 0.6.6
>
>         Attachments: 0001-Use-hashmap-internally-for-lookups-vs-hashtable-for-.patch,
1481-v2.txt
>
>
> the Properties class extends Hashtable, which is ancient and synchronized.
> (this is not really a problem in 0.7, since snitch results are cached.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message