rif based autoscalling