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

Adding thread pool to NettyServerAvroHandler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.6.1
    • None
    • java

    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

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

              Dates

                Created:
                Updated:
                Resolved: