code: def qps_to_replicas(
      target_qps,
      processing_time,
      max_qp_replica=1,
      target_utilization=0.7,
  ):
      """Provide a rough estimate of the number of replicas to support a given
      load (queries per second)
  
      Args:
          target_qps (int): target queries per second that you want to support
          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: Number of estimated replicas required to support a target number of queries per second.
      """
      concurrent_queries = (
          target_qps * processing_time / target_utilization
      )
      replicas = ceil(concurrent_queries / max_qp_replica)
      logger.info(
          "Approximately {} replicas are estimated to support {} queries per second.".format(
              replicas, target_qps
          )
      )
      return replicas
  
imports: from math import ceil, floor
  import logging
label_desc: Use image node_id 1 for calling a global function with example usage: qps_to_replicas(target_qps, processing_time, max_qp_replica, target_utilization) and returns: replicas