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

Performance dramatically impacted by using client SSL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      Throughput latency & throughput achieved via cassandra-stress is dramatically impacted when using SSL (about 5-6x).

      I haven't done much analysis of this yet, but one observation is that I do notice a dramatic increase in context switches while running with SSL on the server side. In the charts below, the left-most data in a chart represents running without SSL, and the right-most data represents running with SSL. You'll observe that on the C* node that while the CPU utilization is down when running stress with SSL, the context switches are higher.

      Attached is ssl-bench.tgz that includes output for each run, the parameters used and an html file that is the output of running stress with CASSANDRA-7918.

      If you need some ready made keystore / truststore files to work with, some can be found here.

      Attachments

        1. cpu_metrics.png
          109 kB
          Andy Tolbert
        2. ssl-bench.tgz
          146 kB
          Andy Tolbert
        3. bench-graph.png
          133 kB
          Andy Tolbert

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andrew.tolbert Andy Tolbert
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: