Cloud-Based Scheduling Mechanism for Scalable and Resource-Efficient Centralized Controllers