ServiceNow, Inc.
Batching asynchronous web requests
Last updated:
Abstract:
An example embodiment may involve receiving, by a web server device, a message containing a plurality of asynchronous requests for web content, where the plurality is received from a client device that was provided with a web document from which the web content is at least in part derivable. The example embodiment may also involve sorting, by the web server device, the plurality into an ordering based on respective estimated execution times of the plurality, where the ordering is from least to greatest estimated execution time. The example embodiment may also involve processing, by the web server device, the plurality as ordered until either a predetermined amount of time measured from the beginning of the processing has expired, or all requests of the plurality have been processed. The example embodiment may also involve transmitting, by the web server device and to the client device, results associated with the processed requests.
Utility
26 Apr 2017
14 Apr 2020