You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by 疾鹰击皓月 <17...@qq.com.INVALID> on 2021/11/15 07:41:03 UTC

Flink资源动态分配

您好:
&nbsp; &nbsp; &nbsp;Flink工程白天和晚上数据流量差距非常巨大,如果并行度设置的低无法应对白天的流量洪峰,但如果增大资源分配晚上存在资源浪费。&nbsp; &nbsp; &nbsp;想请问Flink是否有动态资源分配的方案,在不停止应用的前提下调整资源分配的情况吗,比如在不同的时间分配不同的资源(无论是通过增减container模式,增大每个container资源的模式或者其他可能的方案?)
&nbsp; &nbsp; &nbsp;非常感谢

Re: Flink资源动态分配

Posted by Yangze Guo <ka...@gmail.com>.
可以尝试下Reactive mode.[1] 扩缩容操作仍需要外部干预。

[1] https://nightlies.apache.org/flink/flink-docs-master/zh/docs/deployment/elastic_scaling/

Best,
Yangze Guo

On Mon, Nov 15, 2021 at 3:41 PM 疾鹰击皓月 <17...@qq.com.invalid> wrote:
>
> 您好:
> &nbsp; &nbsp; &nbsp;Flink工程白天和晚上数据流量差距非常巨大,如果并行度设置的低无法应对白天的流量洪峰,但如果增大资源分配晚上存在资源浪费。&nbsp; &nbsp; &nbsp;想请问Flink是否有动态资源分配的方案,在不停止应用的前提下调整资源分配的情况吗,比如在不同的时间分配不同的资源(无论是通过增减container模式,增大每个container资源的模式或者其他可能的方案?)
> &nbsp; &nbsp; &nbsp;非常感谢