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

Make netty pipeline fully async

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Duplicate
    • 2.2.0 beta 1
    • None

    Description

      Related to CASSANDRA-5239. Netty does much better if we remove the request thread pool jump.

      Here is a benchmark of our netty pipeline returning a static value (so no actual cassandra processing). When the thread pool is removed we see a dramatic improvement.

      http://cstar.datastax.com/graph?stats=64ed5186-4e51-11e4-a8d5-bc764e04482c&metric=op_rate&operation=2_user&smoothing=1&show_aggregates=true&xmin=0&xmax=228.25&ymin=0&ymax=150217.1

      On my laptop using the async branch can match redis bench on the same machine ~160k ops/sec.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tjake T Jake Luciani
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: