This paper proposes a service-oriented cloud architecture to enhance the performance of smart grid applications by facilitating real-time data coordination and processing. It introduces a priority-based scheduling algorithm to optimize resource allocation, demonstrated through an analytical model based on queuing theory, showing an 8% performance improvement. The implementation using OpenStack cloud reveals the architecture's capability to handle dynamic workloads effectively, maintaining satisfactory response times and resource utilization in a virtualized environment.