Patent ID: 7496916

Claim:
A computer-implemented method for parallel processing a sequence of requests received by an application server configured to execute a plurality of threads, comprising: initiating, by the application server, a first thread configured to (i) perform the sequence of requests received from a user interacting with a web-based application and (ii) to maintain state information specific to the first thread, wherein each request, of the sequence, is composed as a uniform resource locater submitted to the web-based application; initiating, by the application server, a second thread configured to perform the sequence of requests and to maintain state information specific to the second thread; performing, sequentially, by the first thread, the sequence of requests; performing, sequentially, by the second thread, the same sequence of requests, wherein the second thread performs requests, of the sequence, previously performed by the first thread a specified number of steps behind first thread and while the first thread continues to execute requests, from the sequence of requests, whereby the first thread and second thread each independently maintain state information regarding results of each request, of the sequence, performed by the first thread and the second thread, respectively; upon completion of the sequence of requests by the first thread, producing a primary result for the sequence of requests; subsequently, upon completion of the sequence of requests by the second thread, producing a secondary result for the sequence of requests; displaying the primary result produced by the first thread; and discarding, without displaying, the secondary result produced by the second thread.