发明名称 Custom error page enabled via networked computing service
摘要 An approach is provided for queuing clients when a web page is temporarily unavailable. The approach includes providing a computer infrastructure operable to: maintain a queue of clients requesting the web page; receive an indication of an availability number from a host of the web page; and release one or more of the clients from the queue equal to the availability number indicated by the host, based on the receiving the indication of the availability number.
申请公布号 US9456061(B2) 申请公布日期 2016.09.27
申请号 US201213586246 申请日期 2012.08.15
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Felton Mitchell D.;Olson Brian E.
分类号 G06F15/173;H04L29/06;G06F17/30;H04L29/08 主分类号 G06F15/173
代理机构 Roberts Mlotkowski Safran Cole & Calderon, P.C. 代理人 Ulrich Lisa;Calderon Andrew M.;Roberts Mlotkowski Safran Cole & Calderon, P.C.
主权项 1. A method of queuing clients when a web page is temporarily unavailable, comprising: maintaining, by a computer processor of a queue server, a queue of clients requesting the web page when: the host has been determined to be temporarily unable to serve the web page to the clients, andthe host has switched from a non-token-based operating mode in which an HTTP server handles requests for the web page without tokens to a token-based operating mode in which the HTTP server only handles requests for the web page that include the tokens; receiving, by the processor, an asynchronous call from one of the clients in the queue to get updated queue data; receiving, by the processor, an indication of an availability number from a host of the web page, wherein the availability number is a number “n” that indicates a number of threads available at the host to process new requests for the web page; and based on the receiving the availability number from the host: transmitting, by the processor, the tokens to “n” number of the clients at the top of the queue, the tokens identifying the “n” number of the clients as having been released from the queue, wherein the transmitting is performed in a pull manner after and as a result of receiving another asynchronous call from the one of the clients; anddeleting, by the processor, the “n” number of the clients from the queue.
地址 Armonk NY US