Request scheduling method and device, equipment and medium
The invention relates to the technical field of Internet, and provides a request scheduling method, device and equipment and a medium, and the method comprises the steps: sequentially traversing each client in a client array during request scheduling; and when traversing the current client, polling...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to the technical field of Internet, and provides a request scheduling method, device and equipment and a medium, and the method comprises the steps: sequentially traversing each client in a client array during request scheduling; and when traversing the current client, polling each element in the global array corresponding to the current client until the index queue corresponding to the element is polled to be a non-empty target index queue, determining the request queue pointed by the target element at the queue head as a target queue, stopping polling the current client, and determining the target queue as the target queue. And acquiring the requests from the target queue, adding the requests to the to-be-executed queue, continuing to traverse the next client, and concurrently executing each request in the to-be-executed queue in the traversal process. By utilizing the method, traversal polling can be performed on the requests based on the constructed client array, the request queue an |
---|