[
https://issues.apache.org/jira/browse/FLINK-20574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tzu-Li (Gordon) Tai reassigned FLINK-20574:
-------------------------------------------
Assignee: Tzu-Li (Gordon) Tai
> Throttle number of remote invocation requests on startup or restores with
> large backlogs
> ----------------------------------------------------------------------------------------
>
> Key: FLINK-20574
> URL: https://issues.apache.org/jira/browse/FLINK-20574
> Project: Flink
> Issue Type: Improvement
> Components: Stateful Functions
> Reporter: Tzu-Li (Gordon) Tai
> Assignee: Tzu-Li (Gordon) Tai
> Priority: Minor
> Labels: auto-deprioritized-major, auto-unassigned,
> pull-request-available
>
> On startup or restores, the {{RequestReplyFunction}} may heavily load the
> remote functions with multiple concurrent invocation requests if there is a
> large backlog of restored or historical events to process through.
> The new protocol introduced by FLINK-20265 emphasizes this much more due to
> the nature of extra invocation roundtrips if the function has state
> declarations (i.e., the first hoard of concurrent invocations would all fail
> with an {{IncompleteInvocationContext}} and requires invocation patching +
> state registrations).
> We should think about how to apply throttling to mitigate these scenarios.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)