Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7409

WebRuntimeMonitor blocks serving threads

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • Runtime / Web Frontend
    • None

    Description

      The WebRuntimeMonitor contains a lot of blocking operations where it retrieves a result from the JobManager and then waits on the future to obtain the result. This is not a good design since we are blocking server threads with that. Instead I propose to follow a more reactive approach where the RequestHandler returns a CompletableFuture of FullHttpResonse which is in the completion handler written out to the channel.

      Attachments

        Issue Links

          Activity

            People

              trohrmann Till Rohrmann
              trohrmann Till Rohrmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: