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

Remove on-heap row cache

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0 beta 1
    • None
    • None

    Description

      The row (partition) cache easily does more harm than good. People expect it to act like a query cache but it is very different than that, especially for the wide partitions that are so common in Cassandra data models.

      Making it off-heap by default only helped a little; we still have to deserialize the partition to the heap to query it.

      Ultimately we can add a better cache based on the ideas in CASSANDRA-1956 or CASSANDRA-2864, but even if we don't get to that until 2.1, removing the old row cache for 2.0 is a good idea.

      Attachments

        1. 5348.txt
          25 kB
          Jonathan Ellis

        Issue Links

          Activity

            People

              jbellis Jonathan Ellis
              jbellis Jonathan Ellis
              Jonathan Ellis
              Jason Brown
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: