Supporting heterogeneous environments during code deployment
First Claim
1. A computer-implemented method, comprising:
- receiving, at a server and from a requestor, a request specifying a network location for a network resource;
determining that the server lacks access to the network resource, the server lacking access to the resource at least temporarily;
detecting a setting indicating that the server is to submit a redirect instruction to the requestor to cause the requestor to submit another request specifying the network location for the network resource;
transmitting, in response to the request, a redirect instruction that specifies a redirect location being the same location as the network location for the network resource received in the request, wherein, if the setting does not indicate to submit the redirect instruction, the server transmits a response to the request indicating a lack of access to the network resource.
1 Assignment
0 Petitions
Accused Products
Abstract
When servers hosting a website are under some form of deployment activity (e.g., a software update being in mid-deployment), the resources requested may not be available from all servers hosting the website. In such mid-deployment edge cases, the server would return an error message in response to the request. According to an application employing redirect instructions via a load balancer, a redirect function (such as a Hypertext Transfer Protocol (HTTP) status code 302) may be configured to redirect a client request to the same location as an initial request, via a load balancer, in order to provide the client with multiple attempts of reaching an updated host (e.g., a server hosting a resource based on a recent deployment), without having to receive error codes or otherwise fail to receive the requested resource.
-
Citations
20 Claims
-
1. A computer-implemented method, comprising:
-
receiving, at a server and from a requestor, a request specifying a network location for a network resource; determining that the server lacks access to the network resource, the server lacking access to the resource at least temporarily; detecting a setting indicating that the server is to submit a redirect instruction to the requestor to cause the requestor to submit another request specifying the network location for the network resource; transmitting, in response to the request, a redirect instruction that specifies a redirect location being the same location as the network location for the network resource received in the request, wherein, if the setting does not indicate to submit the redirect instruction, the server transmits a response to the request indicating a lack of access to the network resource. - View Dependent Claims (2, 3, 4)
-
-
5. A system, comprising:
-
one or more processors; memory including instructions that, as a result of being executed by the one or more processors, cause the system to; receive, at a server and from a requestor, a request for an asset, the request specifying, at least, a location of the asset; determine the asset as unavailable at the location, the server lacking access to the asset at least temporarily; detect a setting indicating that the server is to submit a redirect instruction to the requestor to cause the requestor to submit another request specifying the location for the asset; serve a response including a redirect instruction that specifies a redirect location being the same location as the location of the asset received in the request, wherein, if the setting does not indicate to submit the redirect instruction, the server transmits a response to the request indicating a lack of access to the asset in response to the request. - View Dependent Claims (6, 7, 8, 9, 10, 11, 12)
-
-
13. A non-transitory computer-readable storage medium having stored thereon instructions that, if executed by one or more processors of a computer system, cause the computer system to:
-
receive, at a server and from a requestor, a request for a resource, the request specifying, at least, an identifier of the resource; determine the server lacks access to the resource via the identifier at least temporarily; detect a setting indicating that the server is to submit a redirect instruction to the requestor to cause the requestor to submit another request specifying the identifier of the resource; and serve the redirect instruction, the redirect instruction providing a redirect identifier being the same as the identifier of the resource received in the request, wherein, if the setting does not indicate to submit a redirect instruction, the server transmits a response to the request indicating a lack of access to the resource in response to the request. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification