Adaptive Rate Control through Elastic Scheduling