Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33683 FLIP-407 Improve Flink Client performance in interactive scenarios
  3. FLINK-32756

Reuse ClientHighAvailabilityServices when creating RestClusterClient

    XMLWordPrintableJSON

Details

    Description

      Currently, every newly built RestClusterClient will create a new ClientHighAvailabilityServices which is both unnecessary and resource consuming. For example, each ZooKeeperClientHAServices contains a ZKClient which holds a connection to ZK server and several related threads.

      By reusing ClientHighAvailabilityServices across multiple RestClusterClient instances, we can save system resources(threads, connections), connection establish time and leader retrieval time.

      Attachments

        Issue Links

          Activity

            People

              xiangyu0xf xiangyu feng
              xiangyu0xf xiangyu feng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: