Re: MAx parallelism

2023-07-11 Thread Hangxiang Yu
| .. You could check the relationship between max parallelism and bytes of key group as below: -- max parallelism | bytes of key group 128 | 1 32768 | 2 - So I think the cost will be very small if the real key length is

MAx parallelism

2023-07-11 Thread 湘晗刚
How to set the max parallelism , if I set it to 200 or 2000 ,the performance will be the same? 

Re: is there any detrimental side-effect if i set the max parallelism as 32768

2023-03-13 Thread Tony Wei
Flink will write the key group as the prefix of the key to > speed up rescaling. > > So the format will be like: key group | key len | key | .. > > You could check the relationship between max parallelism and bytes of > key group as below: > >

Re: is there any detrimental side-effect if i set the max parallelism as 32768

2023-03-13 Thread David Anderson
ace overhead of the > field of the key-group may influence performance. > As we know, Flink will write the key group as the prefix of the key to speed > up rescaling. > So the format will be like: key group | key len | key | .. > You could check the relationship between max par

Re: is there any detrimental side-effect if i set the max parallelism as 32768

2023-03-07 Thread Hangxiang Yu
.. You could check the relationship between max parallelism and bytes of key group as below: ------ max parallelism bytes of key group 1281 32768 2 -- So I think the cost wi

is there any detrimental side-effect if i set the max parallelism as 32768

2023-03-07 Thread Tony Wei
ob with large state, large parallelism and using RocksDB as my state backend. I would like to set the max parallelism as 32768, so that I don't bother if the max parallelism can be divided by the parallelism whenever I want to scale my job, because the number of key groups will not differ too

Updating Parallelism based on Traffic and Max Parallelism

2023-01-26 Thread Madan D via user
Hello Team, I am fine tuning my application which can adjust parallelism automatically based on traffic and EMR auto-scaling will be adding more cores as needed. I am trying to set max Parallelism but I always see its working with default parallelism irrespective of traffic. Can you please let

Re: Max parallelism and reactive mode

2022-03-07 Thread Roman Khachatryan
Hi Alexis, > Is it possible to have different values of max parallelism in different > operators? Yes, it is possible, please refer to [1] and [2] for API details. > I did a test in which my source had a max parallelism of 3, whereas a > downstream operator had a (non-max)

Max parallelism and reactive mode

2022-03-03 Thread Alexis Sarda-Espinosa
Hi everyone, I have some questions regarding max parallelism and how interacts with deployment modes. The documentation states that max parallelism should be "set on a per-job and per-operator granularity" but doesn't provide more details. Is it possible to have differen

Re: Verifying max-parallelism value

2021-09-02 Thread Guowei Ma
vertex) For example: http://localhost:8081/jobs/1eaf5e2ff65e199e4d8e8875882de7db Hope it helpful. [1] https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/ops/production_ready/#set-an-explicit-max-parallelism [2] https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/ops/

Re: Verifying max-parallelism value

2021-09-02 Thread Caizhi Weng
; > most likely I'm missing something but I failed to verify the setting of > the max-parallelism (# key groups). > Is there a way to check the value for a job? I checked the following > places without finding it. > > 1. Flink UI: Job Configuration > 2. Flink UI: SubTasks

Verifying max-parallelism value

2021-09-02 Thread Niklas Wilcke
Hi Flink community, most likely I'm missing something but I failed to verify the setting of the max-parallelism (# key groups). Is there a way to check the value for a job? I checked the following places without finding it. 1. Flink UI: Job Configuration 2. Flink UI: SubTasks of a

Re: Understanding Max Parallelism

2021-03-19 Thread Dawid Wysakowicz
:40, Aeden Jameson wrote: > I'm trying to get my head around the impact of setting max parallelism. > > * Does max parallelism primarily serve as a reservation for future > increases to parallelism? The reservation being the ability to restore > from checkpoints and savepoint

Understanding Max Parallelism

2021-03-18 Thread Aeden Jameson
I'm trying to get my head around the impact of setting max parallelism. * Does max parallelism primarily serve as a reservation for future increases to parallelism? The reservation being the ability to restore from checkpoints and savepoints after increases to parallelism. * Does it serve

Re: Setting max parallelism via properties

2021-02-28 Thread Padarn Wilson
dy cover the bridge work, so I think it should > just work in your case. > > > pipeline-max-parallelism: > https://ci.apache.org/projects/flink/flink-docs-stable/deployment/config.html#pipeline-max-parallelism > > > Best, > Kezhu Wang > > On February 28, 2021 at 16

Re: Setting max parallelism via properties

2021-02-28 Thread Kezhu Wang
-operator` uses `flink run`(I found this in `flinkcluster_submit_job_script.go`) to submit job to cluster. This command already cover the bridge work, so I think it should just work in your case. pipeline-max-parallelism: https://ci.apache.org/projects/flink/flink-docs-stable/deployment/config.html

Setting max parallelism via properties

2021-02-28 Thread Padarn Wilson
Hi all, Sorry for the basic question, but is it possible to set max parallelism using the flink conf file, rather than explicitly in code: https://ci.apache.org/projects/flink/flink-docs-stable/dev/parallel.html#setting-the-maximum-parallelism Need this for a PR I am working on for the flink

Re: Parallelism and max-parallelism

2017-02-06 Thread Dmitry Golubets
Thanks! Best regards, Dmitry On Mon, Feb 6, 2017 at 3:47 PM, Ufuk Celebi wrote: > Could you have a look at these PRs please: > > https://github.com/apache/flink/pull/3259 > > https://github.com/apache/flink/pull/3258 > > If you find that anything is missing, feel free to report it here. > > The

Re: Parallelism and max-parallelism

2017-02-06 Thread Ufuk Celebi
Could you have a look at these PRs please: https://github.com/apache/flink/pull/3259 https://github.com/apache/flink/pull/3258 If you find that anything is missing, feel free to report it here. The PRs will be merged later today. On Mon, Feb 6, 2017 at 4:41 PM, Dmitry Golubets wrote: > Hi gu

Parallelism and max-parallelism

2017-02-06 Thread Dmitry Golubets
Hi guys, I would appreciate if someone could explain to me what's the difference between those two. The current description refers to "dynamic scaling", and yet I can't find anything about it in Flink's docs. Best regards, Dmitry

Re: How to configure max parallelism?

2017-01-25 Thread Gyula Fóra
e defaults in > order to allow scaling up later: > Parallelism 1-64 => default max parallelism: 128 > Parallelism 65+ => parallelism + parallelism/2 (where I parallelism is > rounded up to the next power of two) > > The maximum allowed max parallelism is 32768. > > Th

Re: How to configure max parallelism?

2017-01-25 Thread Ufuk Celebi
setParallelism. You have the option to set it on the environment and per operator. If you don't configure anything, we compute somewhat sane defaults in order to allow scaling up later: Parallelism 1-64 => default max parallelism: 128 Parallelism 65+ => parallelism + parallelism/2 (where I par

How to configure max parallelism?

2017-01-25 Thread Gyula Fóra
Hi all, I can't seem to find in the documentation how to set the maximum parallelism for rescaling keyed state. Can anyone help me out here? Thanks! Gyula