Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5549

Remove Table.switchLock

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1 beta1
    • None

    Description

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

      Attachments

        1. 5549-removed-switchlock.png
          104 kB
          Ryan McGuire
        2. 5549-sunnyvale.png
          102 kB
          Ryan McGuire

        Issue Links

          Activity

            People

              benedict Benedict Elliott Smith
              jbellis Jonathan Ellis
              Benedict Elliott Smith
              Jonathan Ellis
              Ryan McGuire Ryan McGuire
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: