Uploaded image for project: 'Hawkular Metrics'
  1. Hawkular Metrics
  2. HWKMETRICS-418

Use of netty native epoll with Datastax driver

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.17.0
    • Fix Version/s: 0.17.0
    • Component/s: Core
    • Labels:
      None

      Description

      Netty supports the use of native-epoll-connection by adding an optional maven dependency. If the driver is not present, Netty will fallback to using NIO instead of the native protocol.

      The benefits of native protocol is that it's faster and reduces the CPU usage of Datastax Cassandra driver.

      To include a driver for Linux x86_64 architecture, following pom.xml addition is all that's needed.

          <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-transport-native-epoll</artifactId>
            <version>4.0.33.Final</version>
            <classifier>linux-x86_64</classifier>
            <optional>true</optional>
          </dependency>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                john.sanda John Sanda
                Reporter:
                burmanm Michael Burman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: