[ https://issues.apache.org/jira/browse/CASSANDRA-5549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874178#comment-13874178 ]
Jonathan Ellis commented on CASSANDRA-5549: ------------------------------------------- When does CLQ block? Are you thinking of LBQ? As a progress update: I'm done with OpOrdering, CFS, Memtable, et al., and now looking at the plumbing (NBQ and the Allocator stuff). So if we can call NBQ an optimization and split it out, great. Otherwise, I don't see a good place to split things. :) > Remove Table.switchLock > ----------------------- > > Key: CASSANDRA-5549 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5549 > Project: Cassandra > Issue Type: Bug > Reporter: Jonathan Ellis > Assignee: Benedict > Labels: performance > Fix For: 2.1 > > Attachments: 5549-removed-switchlock.png, 5549-sunnyvale.png > > > As discussed in CASSANDRA-5422, Table.switchLock is a bottleneck on the write > path. ReentrantReadWriteLock is not lightweight, even if there is no > contention per se between readers and writers of the lock (in Cassandra, > memtable updates and switches). -- This message was sent by Atlassian JIRA (v6.1.5#6160)