flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Rohrmann (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-7409) WebRuntimeMonitor blocks serving threads
Date Sun, 03 Sep 2017 22:01:03 GMT

     [ https://issues.apache.org/jira/browse/FLINK-7409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Till Rohrmann closed FLINK-7409.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

Fixed via ab1fbfdfe6c1f2b6885710f98b9480cb90396ac0

> WebRuntimeMonitor blocks serving threads
> ----------------------------------------
>
>                 Key: FLINK-7409
>                 URL: https://issues.apache.org/jira/browse/FLINK-7409
>             Project: Flink
>          Issue Type: Improvement
>          Components: Webfrontend
>    Affects Versions: 1.4.0
>            Reporter: Till Rohrmann
>            Assignee: Till Rohrmann
>            Priority: Minor
>             Fix For: 1.4.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message