[jira] [Created] (FLINK-7582) Rest client may buffer responses indefinitely under heavy laod

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-7582) Rest client may buffer responses indefinitely under heavy laod

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-7582:
---------------------------------------

             Summary: Rest client may buffer responses indefinitely under heavy laod
                 Key: FLINK-7582
                 URL: https://issues.apache.org/jira/browse/FLINK-7582
             Project: Flink
          Issue Type: Bug
          Components: REST
    Affects Versions: 1.4.0
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.4.0


The RestClient uses an executor for sending requests and parsing responses. Under heavy load, i.e. lots of requests being sent, the executor may be used exclusively for sending requests. The responses that are received by the netty threads are thus never parsed and are buffered in memory, until either requests stop coming in or all memory is used up.

We should let the netty receiver thread do the parsing as well.



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