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

          Bruno Dumon created issue -
          Bruno Dumon made changes -
          Field Original Value New Value
          Attachment AVRO-976.patch [ 12507013 ]
          Doug Cutting made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Assignee Bruno Dumon [ bruno ]
          Fix Version/s 1.6.2 [ 12319074 ]
          Resolution Fixed [ 1 ]
          James Baldassari made changes -
          Link This issue relates to AVRO-1019 [ AVRO-1019 ]
          James Baldassari made changes -
          Link This issue is duplicated by AVRO-1001 [ AVRO-1001 ]
          Doug Cutting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development