主权项 |
1. A data assignment method for a physical machine, the physical machine having multiple virtual machines running thereon, the method comprising:
receiving, by a processor executing on a computing device, data to be processed from a scheduler configured to assign job data; storing, by the processor, the received data to be processed into a single queue, wherein the single queue is shared by the multiple virtual machines running on the physical machine; and in response to an idle virtual machine being among the multiple virtual machines, assigning, by the processor, data in the queue to the idle virtual machine to be processed by the idle virtual machine; wherein storing the received data to be processed into a single queue comprises: parsing the received data to be processed; and s storing data to be processed, which is determined as specific to a predetermined application after the parsing, into the single queue. |