You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (Jira)" <ji...@apache.org> on 2020/10/01 14:45:00 UTC

[jira] [Commented] (FLINK-6215) Make the StatefulSequenceSource scalable.

    [ https://issues.apache.org/jira/browse/FLINK-6215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17205572#comment-17205572 ] 

Stephan Ewen commented on FLINK-6215:
-------------------------------------

This should issue should be subsumed by this one: FLINK-19457

[~kkl0u] Should we close this and the related PRs?

> Make the StatefulSequenceSource scalable.
> -----------------------------------------
>
>                 Key: FLINK-6215
>                 URL: https://issues.apache.org/jira/browse/FLINK-6215
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream
>    Affects Versions: 1.3.0
>            Reporter: Kostas Kloudas
>            Priority: Major
>              Labels: pull-request-available
>
> Currently the {{StatefulSequenceSource}} instantiates all the elements to emit first and keeps them in memory. This is not scalable as for large sequences of elements this can lead to out of memory exceptions.
> To solve this, we can pre-partition the sequence of elements based on the {{maxParallelism}} parameter, and just keep state (to checkpoint) per such partition.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)