[ 
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.

Reply via email to