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

Mutation Serialization Caching

    XMLWordPrintableJSON

Details

    Description

      A performance change that adds mutation serialization caching to avoid re-serializing the mutation for commitlog and nodes twice. 

      • Cached serialization for storage proxy and local commitlog
      • Cached deserialization for messaging service and local commitlog

      This yields a non trivial perf gain (~7-10%) and latency drop (median)

      https://tjake.github.io/other/cached-mutations-report.html

       

      The cached buffer is stored by MessagingService version to avoid being used by differing nodes during upgrades.

      Also, It avoids caching mutations larger than a threshold to avoid GC issues. 

       

      GH PR: https://github.com/apache/cassandra/pull/1954

       

      Attachments

        Activity

          People

            tjake T Jake Luciani
            tjake T Jake Luciani
            T Jake Luciani
            Josh McKenzie
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: