Thanks Xintong and Yu Yang for the replies,

I see AWS provides deploying Flink on EMR out of the box. There they have
an option of EMR cluster scaling based on the load.

Is this not equal to dynamic rescaling ?

[image: Screen Shot 2020-06-15 at 9.23.24 AM.png]


https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-managed-scaling.html

Let me know your thoughts on the same.

Prasanna.


On Wed, Jun 10, 2020 at 7:33 AM Xintong Song <tonysong...@gmail.com> wrote:

> Hi Prasanna,
>
> Flink does not support dynamic rescaling at the moment.
>
> AFAIK, there are some companies in China already have solutions for
> dynamic scaling Flink jobs (Alibaba, 360, etc.), but none of them are yet
> available to the community version. These solutions rely on an external
> system to monitor the workload and rescale the job accordingly. In case of
> rescaling, it requires a full stop of the data processing, then rescale,
> then recover from the most recent checkpoint.
>
> The Flink community is also preparing a declarative resource management
> approach, which should allow the job to dynamically adapt to the available
> resources (e.g., add/reduce pods on kubernetes). AFAIK, this is still in
> the design discussion.
>
> Thank you~
>
> Xintong Song
>
>
>
> On Wed, Jun 10, 2020 at 2:44 AM Prasanna kumar <
> prasannakumarram...@gmail.com> wrote:
>
>> Hi all,
>>
>> Does flink support dynamic scaling. Say try to add/reduce nodes based
>> upon incoming load.
>>
>> Because our use case is such that we get peak loads for 4 hours and then
>> medium loads for 8 hours and then light to no load for rest 2 hours.
>>
>> Or peak load would be atleast 5 times the medium load.
>>
>> Has anyone used flink in these type of scenario? We are looking at flink
>> for it's low latency performance.
>>
>> Earlier I worked with Spark+YARN which provides a features to dynamicaly
>> add/reduce executors.
>>
>> Wanted to know the same on flink.
>>
>> Thanks,
>> Prasanna
>>
>

Reply via email to