Resources scheduling and balancing