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

Switch from THSHAServer to TThreadedSelectorServer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Won't Fix
    • 2.0 beta 1
    • None

    Description

      TThreadedSelectorServer is new in Thrift 0.9. It builds on HSHA by allowing for a set of threads for IO and a set work request processing...

      I've attached the performance numbers below. It's a lot closer to TThreadedServer.

      ThreadedServer (Default)

      Write Averages from the middle 80% of values:
      interval_op_rate          : 14811
      interval_key_rate         : 14811
      latency median            : 1.7
      latency 95th percentile   : 5.3
      latency 99.9th percentile : 142.6
      Total operation time      : 00:01:16
      END
      
      Read Averages from the middle 80% of values:
      interval_op_rate          : 16898
      interval_key_rate         : 16898
      latency median            : 2.2
      latency 95th percentile   : 8.5
      latency 99.9th percentile : 165.7
      Total operation time      : 00:01:05
      END
      

      HSHA (CURRENT)

      Write Averages from the middle 80% of values:
      interval_op_rate          : 8939
      interval_key_rate         : 8939
      latency median            : 5.0
      latency 95th percentile   : 10.1
      latency 99.9th percentile : 105.4
      Total operation time      : 00:01:56
      END
      
      Read Averages from the middle 80% of values:
      interval_op_rate          : 9608
      interval_key_rate         : 9608
      latency median            : 5.1
      latency 95th percentile   : 7.7
      latency 99.9th percentile : 51.6
      Total operation time      : 00:01:49
      END
      

      TThreadedSelectorServer (NEW)

      Write Averages from the middle 80% of values:
      interval_op_rate          : 11640
      interval_key_rate         : 11640
      latency median            : 3.1
      latency 95th percentile   : 10.6
      latency 99.9th percentile : 135.9
      Total operation time      : 00:01:30
      END
      
      Read Averages from the middle 80% of values:
      interval_op_rate          : 15247
      interval_key_rate         : 15247
      latency median            : 2.8
      latency 95th percentile   : 7.1
      latency 99.9th percentile : 40.3
      Total operation time      : 00:01:06
      END
      

      Attachments

        1. 5530.txt
          3 kB
          T Jake Luciani

        Issue Links

          Activity

            People

              tjake T Jake Luciani
              tjake T Jake Luciani
              T Jake Luciani
              Ryan McGuire Ryan McGuire
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: