Avro
  1. Avro
  2. AVRO-976

NettyServer: enable use of an ExecutionHandler

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.2
    • Component/s: java
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      I noticed that when using a multi-threaded netty-based avro client, the server was only processing one request at a time. This is a problem if processing the request takes time (io wait).

      The solution Netty provides is the ExecutionHandler:
      http://docs.jboss.org/netty/3.2/api/org/jboss/netty/handler/execution/ExecutionHandler.html

      I will attach a patch which allows the user to provide, optionally, such an ExecutionHandler, which is then inserted into the Netty pipeline.

      1. AVRO-976.patch
        3 kB
        Bruno Dumon

        Issue Links

          Activity

          Hide
          Doug Cutting added a comment -

          I committed this. Thanks, Bruno!

          Show
          Doug Cutting added a comment - I committed this. Thanks, Bruno!

            People

            • Assignee:
              Bruno Dumon
              Reporter:
              Bruno Dumon
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development