Balance jobs to different queues to optimized resources usage