# US 2004/0083283 A1 · Method and system for providing on-demand content delivery for an origin server

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0083283 A1
- Document ID: US20040083283A1
- Status: Published application
- Kind: A1
- Application number: 10/272,368
- Filed: 2002-10-15
- Published: 2004-04-29
- Earliest claimed: 2002-10-15
- Assignees: Akamai Technologies, Inc.
- Inventors: Ravi Sundaram; Hariharan S. Rahul
- Web page: https://patentgrep.com/patent/US20040083283A1

## CPC

- H04L 41/046: comprising network management agents or mobile agents therefor
- H04L 41/06: Management of faults, events, alarms or notifications
- H04L 61/4552: Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
- H04L 67/1001: for accessing one among a plurality of replicated servers
- H04L 67/1008: based on parameters of servers, e.g. available memory or workload (monitoring of computer activity G06F11/30)
- H04L 67/1034: Reaction to server failures by a load balancer
- H04L 69/329: in the application layer [OSI layer 7]
- H04L 61/4511: using domain name system [DNS]
- H04L 69/40: for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection (management of faults, events, alarms or notifications in data switching networks H04L41/06)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An infrastructure “insurance” mechanism enables a Web site to fail over to a content delivery network (CDN) upon a given occurrence at the site. Upon such occurrence, at least some portion of the site's content is served preferentially from the CDN so that end users that desire the content can still get it, even if the content is not then available from the origin site. In operation, content requests are serviced from the site in the usual manner, e.g., by resolving DNS queries to the site's IP address, until detection of the given occurrence. Thereafter, DNS queries are managed by a CDN dynamic DNS-based request routing mechanism so that such queries are resolved to optimal CDN edge servers. After the event that caused the occurrence has passed, control of the site's DNS may be returned from the CDN back to the origin server's DNS mechanism.

## Claims

### Claim 1

A method of protecting an origin server having a local name server associated therewith, comprising:
determining whether a given condition exists at the origin server;
if the given condition exists, having the local name server redirect a DNS query to a content delivery network (CDN) domain, the DNS query being associated with given content normally hosted on the origin server; and
resolving the content delivery network (CDN) domain to identify an IP address of a CDN server;
delivering the given content from the CDN server.

### Claim 2 (depends on 1)

The method as described in claim 1 wherein the additional DNS queries are redirected to the CDN network for as long as the given condition exists at the origin server.

### Claim 3 (depends on 1)

The method as described in claim 1 wherein the given content is an object, or a markup language page having a set of one or more embedded objects.

### Claim 4 (depends on 1)

The method as described in claim 1 wherein the given condition is a site failure.

### Claim 5 (depends on 1)

The method as described in claim 1 wherein the given condition is an occurrence of excess demand at the site.

### Claim 6 (depends on 1)

The method as described in claim 1 wherein the given condition is a receipt of a request for content that cannot be served from the site.

### Claim 7

A method operative at an origin server having a name server associated therewith, wherein queries to the name server are associated with a content provider domain, comprising:
monitoring the origin server for occurrence of a given condition;
upon occurrence of the given condition, redirecting queries associated with the content provider domain to a domain associated with a content delivery network (CDN);
determining whether the given condition has ceased; and
if the given condition has ceased, managing queries associated with the content provider domain without redirection to the domain associated with the content provider network (CDN).

### Claim 8

A method of enabling a content provider to obtain access to a content delivery network (CDN) on demand, where the content provider operates one or more origin servers at sites that may be mirrored, comprising:
responsive to an end user's local name server making a query to a domain associated with the content provider, resolving the query to an IP address associated with a given origin server; and
upon occurrence of a given condition, selectively resolving additional queries to the domain associated with the content provider to a domain associated with the CDN.

### Claim 9 (depends on 8)

The method as described in claim 8 wherein the additional queries continued to be resolved to the domain associated with the CDN until the given condition has ceased.

### Claim 10 (depends on 8)

The method as described in claim 8 wherein the query is resolved to an IP address of a mirrored site.

### Claim 11 (depends on 8)

The method as described in claim 8 wherein the given condition is a site failure.

### Claim 12 (depends on 8)

The method as described in claim 8 wherein the given condition is an occurrence of excess demand at the site.

### Claim 13 (depends on 8)

The method as described in claim 8 wherein the given condition is a receipt of a request for content that cannot be served from the site.
