Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9352

In Standalone checkpoint recover mode many jobs with same checkpoint interval cause IO pressure

    XMLWordPrintableJSON

Details

    Description

      currently, the periodic checkpoint coordinator startCheckpointScheduler uses baseInterval as the initialDelay parameter. the baseInterval is also the checkpoint interval. 

      In standalone checkpoint mode, many jobs config the same checkpoint interval. When all jobs being recovered (the cluster restart or jobmanager leadership switched), all jobs' checkpoint period will tend to accordance. All jobs' CheckpointCoordinator would start and trigger in a approximate time point.

      This caused the high IO cost in the same time period in our production scenario.

      I suggest let the scheduleAtFixedRate's initial delay parameter as a API config which can let user scatter checkpoint in this scenario.

       

      cc StephanEwen Zentol

      Attachments

        Issue Links

          Activity

            People

              yanghua vinoyang
              yanghua vinoyang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: