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

Adding thread pool to NettyServerAvroHandler

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.6.1
    • Fix Version/s: None
    • Component/s: java
    • Labels:

      Description

      Request code review.

      The current NettyServer implementation processes each request/response sequentially on a single channel. Thus in the case where a second request is received from the same client while a request is still being processed, the behavior is undefined.

      This patch updates NettyServerAvroHandler.messageReceived() to process each request in a separate thread using an ExecutorService.

        Attachments

        1. AVRO-1001-test.patch
          7 kB
          James Baldassari
        2. AVRO-1001.patch
          2 kB
          Shaun Williams

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shaunw Shaun Williams
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: