Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 3452 invoked from network); 8 Sep 2010 14:14:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 14:14:00 -0000 Received: (qmail 32915 invoked by uid 500); 8 Sep 2010 14:14:00 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 32754 invoked by uid 500); 8 Sep 2010 14:13:56 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 32745 invoked by uid 99); 8 Sep 2010 14:13:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 14:13:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 14:13:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o88EDYMb003980 for ; Wed, 8 Sep 2010 14:13:34 GMT Message-ID: <32497741.75961283955214277.JavaMail.jira@thor> Date: Wed, 8 Sep 2010 10:13:34 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1481) PropertyFileEndPointSnitch synchronization is a bottleneck In-Reply-To: <4847117.69181283917353112.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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.