code: def replicas_to_qps(
      num_replicas,
      processing_time,
      max_qp_replica=1,
      target_utilization=0.7,
  ):
      """Provide a rough estimate of the queries per second supported by a number of replicas
  
      Args:
          num_replicas (int): number of replicas
          processing_time (float): the estimated amount of time (in seconds) your service call takes
          max_qp_replica (int): maximum number of concurrent queries per replica
          target_utilization (float): proportion of CPU utilization you think is ideal
  
      Returns:
          int: queries per second supported by the number of replicas
      """
      qps = floor(
          num_replicas
          * max_qp_replica
          * target_utilization
          / processing_time
      )
      logger.info(
          "Approximately {} queries per second are supported by {} replicas.".format(
              qps, num_replicas
          )
      )
      return qps
  
imports: from math import ceil, floor
  import logging
label_desc: Use image node_id 2 for calling a global function with example usage: replicas_to_qps(num_replicas, processing_time, max_qp_replica, target_utilization) and returns: qps