发明名称 Service request fast fail circuit breaker
摘要 Systems and methods for processing a request from a client using a service request circuit breaker are disclosed. An exemplary system includes a request evaluator for receiving the client request and generating an external request. A request transmitter sends the external request to an external server. An external channel monitor evaluates how the external server responds to the external request. A service request circuit breaker activates in response to the monitor determining that the external server is unavailable. A persistent data store instantiates a queue. The queue stores the external request in response to the monitor determining that the external server is unavailable. The queue stores a second external request before it is sent to the external server if the service request circuit breaker is activated. The external server monitoring component evaluates how the external server responds to a periodic ping.
申请公布号 US8850034(B1) 申请公布日期 2014.09.30
申请号 US201414253534 申请日期 2014.04.15
申请人 Quisk, Inc. 发明人 Amancherla Praveen
分类号 G06F15/16;H04L29/06 主分类号 G06F15/16
代理机构 The Mueller Law Office, P.C. 代理人 The Mueller Law Office, P.C.
主权项 1. A method for operating a service request circuit breaker, in which each step is computer-implemented, comprising: receiving a first client service request at a server from a client; sending a first external server service request from the server to an external server, wherein a response to the first external server service request is required for processing the first client service request; determining that the external server is unavailable by evaluating how the external server responds to the first external server service request; in response to determining that the external server is unavailable: activating the service request circuit breaker; and saving the first external server service request to a queue, wherein the queue is instantiated in a persistent memory; receiving a second client service request at the server; generating a second external server service request, wherein a response to the second external service request is required for processing the second client service request; if the service request circuit breaker is active, saving the second external server service request to the queue without sending the second external service request to the external server; determining that the external server is available by evaluating how the external server responds to a periodic ping; and in response to determining that the external server is available, deactivating the service request circuit breaker, removing the first external server service request from the queue, and resending the first external server service requests to the external server.
地址 Sunnyvale CA US