Uploaded image for project: 'Avro'
  1. Avro
  2. AVRO-976

NettyServer: enable use of an ExecutionHandler

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: