Generally described, computing devices and communication networks can be utilized to exchange information. In a common application, a computing device can request content from another computing device via the communication network. For example, a user at a personal computing device can utilize a software browser application to request a Web page from a server computing device via the Internet. In such embodiments, the user computing device can be referred to as a client computing device and the server computing device can be referred to as a content provider.
Content providers are generally motivated to provide requested content to client computing devices often with consideration of efficient transmission of the requested content to the client computing device and/or consideration of a cost associated with the transmission of the content. For larger scale implementations, a content provider may receive content requests from a high volume of client computing devices which can place a strain on the content provider's computing resources. Additionally, the content requested by the client computing devices may have a number of components, which can further place additional strain on the content provider's computing resources.
Some content providers attempt to facilitate the delivery of requested content, such as Web pages and/or resources identified in Web pages, through the utilization of a content delivery network (“CDN”) service provider. A CDN server provider typically maintains a number of computing devices in a communication network that can maintain content from various content providers. In turn, content providers can instruct, or otherwise suggest to, client computing devices to request some, or all, of the content provider's content from the CDN service provider's computing devices. Upon receipt of resource requests from such client computing devices, a CDN service provider typically delivers the requested resource in accordance with terms (such as via a service plan) specified between a corresponding content provider and the CDN service provider.
The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same become better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
Generally described, the present disclosure is directed to the routing of a DNS query from a client computing device corresponding to content requests by a network resource, such as content delivery network (“CDN”) service providers. The processing of a DNS query by a CDN service provider is generally referred to as request routing. Specifically, aspects of the disclosure will be described with regard to the routing of a client computing device DNS query within a content delivery network service provider domain as a function of cost information associated with the processing of the content request from the client computing device. In one embodiment, a CDN service provider utilizes cost information to select components of a CDN network to provide the requested resource. The CDN network component can be selected while attempting to keep a cost associated with the request routing below a cost threshold or while attempting to select the lowest cost. Although various aspects of the disclosure will be described with regard to illustrative examples and embodiments, one skilled in the art will appreciate that the disclosed embodiments and examples should not be construed as limiting.
Although not illustrated in
The content delivery environment 100 can also include a content provider 104 in communication with the one or more client computing devices 102 via the communication network 108. The content provider 104 illustrated in
With continued reference to
Still further, the CDN service provider 106 includes a cost information data store 134 for maintaining information regarding cost profiles or configurations specified by various content providers 104. The cost information data store 134 can also maintain cost information associated with an estimated cost associated with providing a requested resource for each of the POPs 116, 122, 128. In an illustrative embodiment, the cost information data store 134 corresponds to a central data store accessible by the POPs 116, 122, 128, such as via a Web service. In another embodiment, each POP 116, 122, 128 can maintain a local version of a cost information data store 134 for utilization in request routing as will be explained in greater detail. Additionally, although the cost information data store 134 is illustrated as a single data store, one skilled in the relevant art will appreciate that cost information data store 134 may correspond to one or more data stores and may be implemented in a distributed manner.
The DNS components 118, 124, 130 and the resource cache components 120, 126, 132 may further include additional software and/or hardware components that facilitate communications including, but not limited, load balancing or load sharing software/hardware components.
In an illustrative embodiment, the DNS component 118, 124, 130 and resource cache component 120, 126, 132 are considered to be logically grouped, regardless of whether the components, or portions of the components, are physically separate. Additionally, although the POPs 116, 122, 128 are illustrated in
With reference now to
With reference to
One skilled in the relevant art will appreciate that upon identification of appropriate origin servers 112, the content provider 104 can begin to direct requests for content from client computing devices 102 to the CDN service provider 106. Specifically, in accordance with DNS routing principles, a client computing device request corresponding to a resource identifier would eventually be directed toward a POP 116, 122, 128 associated with the CDN service provider 106. In the event that the resource cache component 120, 126, 132 of a selected POP does not have a copy of a resource requested by a client computing device 102, the resource cache component will request the resource from the origin server 112 previously registered by the content provider 104.
With continued reference to
The CDN service provider 106 returns an identification of applicable domains for the CDN service provider (unless it has been previously provided) and any additional information to the content provider 104. In turn, the content provider 104 can then process the stored content with content provider specific information. In one example, as illustrated in
Generally, the identification of the resources originally directed to the content provider 104 will be in the form of a resource identifier that can be processed by the client computing device 102, such as through a browser software application. In an illustrative embodiment, the resource identifiers can be in the form of a uniform resource locator (“URL”). Because the resource identifiers are included in the requested content directed to the content provided, the resource identifiers can be referred to generally as the “content provider URL.” For purposes of an illustrative example, the content provider URL can identify a domain of the content provider 104 (e.g., contentprovider.com), a name of the resource to be requested (e.g., “resource.xxx”) and a path where the resource will be found (e.g., “path”). In this illustrative example, the content provider URL has the form of:
During an illustrative translation process, the content provider URL is modified such that requests for the resources associated with the modified URLs resolve to a POP associated with the CDN service provider 106. In one embodiment, the modified URL identifies the domain of the CDN service provider 106 (e.g., “cdnprovider.com”), the same name of the resource to be requested (e.g., “resource.xxx”) and the same path where the resource will be found (e.g., “path”). Additionally, the modified URL can include various additional pieces of information utilized by the CDN service provider 106 during the request routing process. Specifically, in an illustrative embodiment, the modified URL can include data indicative of cost information corresponding to information or criteria utilized by the CDN service provider 106 during the request routing process (“cost information”). Specifically, cost information can include financial cost information that is attributable to the content provider 104 for delivery of resources on its behalf. The financial cost can be defined in a variety of ways including flat costs, cost per actual data delivered, cost tiers, cost per average data delivered, and the like. In an illustrative embodiment, the modified URL can include at least a portion of the actual cost information in the URL. Alternatively, the modified URL can include one or more identifiers that allow the CDN service provider 106 to obtain the appropriate cost information.
Additionally, the modified URL can include any additional information utilized by the CDN service provider during the request routing information, including, but not limited to, content provider IDs, service plan information, file identifiers, and the like. The modified URL would have the form of:
In another embodiment, the information associated with the CDN service provider 106 is included in the modified URL, such as through prepending or other techniques, such that the modified URL can maintain all of the information associated with the original URL. In this embodiment, the modified URL would have the form of:
In both of the above examples, the cost information and additional information are separated as separate labels in the modified URL. One skilled in the relevant art will appreciate that the cost information and any additional information can be combined together in a single label of the modified URL. Additionally, the cost information may be omitted from the modified URL and obtained by the CDN service provider 106 during the request routing process, such as a lookup according to a content provider identifier.
With reference now to
Upon receipt of the requested content, the client computing device 102, such as through a browser software application, begins processing any of the markup code included in the content and attempts to acquire the resources identified by the embedded resource identifiers. Accordingly, the first step in acquiring the content correspond to the issuance, by the client computing device 102 (through its local DNS resolver), a DNS query for the modified URL resource identifier that results in the identification of a DNS nameserver authoritative to the “.” and the “com” portions of the modified URL. After partially resolving the “.” and “com” portions of the embedded URL, the client computing device 102 then issues another DNS query for the resource URL that results in the identification of a DNS nameserver authoritative to the “.cdnprovider” portion of the embedded URL. The issuance of DNS queries corresponding to the “.” and the “com” portions of a URL are well known and have not been illustrated.
With reference now to
With continued reference to
As an alternative to selecting a cache server component, the CDN service provider 106 can maintain sets of various alternative resource identifiers. The alternative resource identifiers can be provided by the CDN service provider 106 to the client computing device 102 such that a subsequent DNS query on the alternative resource identifier will resolve to a different DNS nameserver component within the CDN service provider's network. In an illustrative embodiment, the alternative resource identifiers are in the form of one or more CNAME records. In one embodiment, each CNAME record identifies a domain of the CDN service provider 106 (e.g., “cdnprovider.com” or “cdnprovider-1.com”). As will be explained in greater detail below, the domain in the CNAME does not need to be the same domain found in original URL or in a previous CNAME record. In a manner similar to the information described above, each CNAME record includes additional information utilized by a receiving DNS nameserver for processing the DNS query. In an illustrative embodiment, the additional information can include cost information corresponding to information or criteria utilized by the CDN service provider 106 during the request routing process. The cost information included in the CNAME can be the same cost information provided in the modified URL or additional/alternative costs information obtained by the CDN service provider 106. Additionally, in embodiments in which cost information is not provided in the modified URL, the cost information would corresponding to cost information obtained by the CDN service provider 106 (directly or indirectly). As also described above, the CNAME can also include additional request routing information, (e.g., “request routing information”) utilized by the CDN service provider 106. An illustrative CNAME record can have the form of:
In an illustrative embodiment, the CNAME records are generated and provided by the DNS nameservers to direct a more appropriate DNS nameserver of the CDN service provider 106. As used in accordance with the present disclosure, appropriateness can be defined in any manner by the CDN service provider 106 for a variety of purposes.
In an illustrative embodiment, the CDN service provider 106 will utilize the cost information, at least in part, to identify the more appropriate DNS nameserver of the CDN service provider 106. As previously mentioned, the cost information corresponds to a financial cost attributable to the content provider 104 for the delivery of resources by the CDN service provider 106. The financial cost may be defined in a variety of ways. The determination of the appropriate DNS nameserver of the CDN service provider 106 as a function of cost information will depend on the cost information included in modified URL or otherwise obtained by the CDN server provider 106.
In one example, the cost information may designate that the content provider 104 has requested that the CDN service provider 106 select the DNS nameserver of the CDN service provider 106 associated with the lowest current financial cost to provide the requested resource. Accordingly, the CDN service provider 106 could obtain cost information for at least a portion of the POPs and select the DNS nameserver associated with the lowest financial cost. The financial cost information utilized to select the lowest financial costs may be based on a current financial costs or projected financial costs. The projected financial costs can be based on criteria, such as time of day, characteristics of the resource (e.g., size of the data, type of data, etc.), anticipated data throughput volumes, current loads experienced by the CDN service provider 106, and the like. For example, if a CDN service provider's POP resources are at an optimal capacity, the CDN service provider 106 may project financial cost at a premium cost level (e.g., a highest cost level) because any additional data traffic would cause the resources to operate above optimal rates. Conversely, the CDN service provider 106 may project lower financial costs for specific POPs according to historically known low volume times (e.g., time of day, days of the month, time of the year, special days/holidays, etc.).
In another example, the cost information may designate the content provider 104 has requested that the cost associated with the providing the requested resource be maintained below one or more cost thresholds or cost tiers. Accordingly, the CDN service provider 106 could obtain cost information for at least a portion of the POPs and select one or more DNS nameservers associated with a financial cost at or below the cost thresholds. The CDN service provider 106 could then utilize other request routing criteria to select from the selected DNS nameserver (if more than one DNS nameserver is identified) or selected in accordance with other selections methodologies (e.g., random, round robin, etc.).
As described above, in addition to the consideration of cost information, the CDN service provider 106 can utilize the additional information (e.g., the “additional information”) included in the modified URL to select a more appropriate POP. In one aspect, the CDN service provider 106 can utilize the additional information to select from a set of DNS nameservers identified as satisfying criteria specified in the cost information. In another aspect, the CDN service provider 106 can utilize the additional information to validate the POP selected in accordance with the cost information or to select an alternative DNS nameserver previously selected in accordance with the cost information. In still another aspect, the CDN service provider 106 can utilize the additional information to select a set of potentially applicable POPs (e.g., meeting minimum service levels) and then utilize the cost information to prioritize from the set of potentially applicable POPs.
In one example, the CDN service provider 106 can attempt to direct a DNS query to DNS severs according to geographic criteria. The geographic criteria can correspond to geographic-based regional service plans contracted between the CDN service-provider 106 and the content provider 104 in which various CDN service provider 106 POPs are grouped into geographic regions. Accordingly, a client computing device 102 DNS query received in a region not corresponding to the content provider's regional plan may be better processed by a DNS nameserver in region corresponding to the content provider's regional plan. In this example, the DNS nameserver component 118 may also obtain geographic information from the client directly (such as information provided by the client computing device or ISP) or indirectly (such as inferred through a client computing device's IP address).
In another example, the CDN service provider 106 can attempt to direct a DNS query to DNS nameservers according to service level criteria. The service level criteria can correspond to service or performance metrics contracted between the CDN service provider 106 and the content provider 104. Examples of performance metrics can include latencies of data transmission between the CDN service provider POPs and the client computing devices 102, total data provided on behalf of the content provider 104 by the CDN service provider POPs, error rates for data transmissions, and the like.
In still a further example, the CDN service provider 106 can attempt to direct a DNS query to DNS severs according to network performance criteria. The network performance criteria can correspond to measurements of network performance for transmitting data from the CDN service provider POPs to the client computing device 102. Examples of network performance metrics can include network data transfer latencies (measured by the client computing device or the CDN service provider 106 network data error rates, and the like.
In accordance with an illustrative embodiment, the DNS nameserver maintains a data store that defines CNAME records for various URLs. If a DNS query corresponding to a particular URL matches an entry in the data store, the DNS nameserver component 118 returns a CNAME record as defined in the data store. In an illustrative embodiment, the data store can include multiple CNAME records corresponding to a particular original URL. The multiple CNAME records would define a set of potential candidates that can be returned to the client computing device. In such an embodiment, the DNS nameserver component 118, either directly or via a network-based service, can implement additional logic in selecting an appropriate CNAME from a set of possible of CNAMEs. In an illustrative embodiment, each DNS nameserver component 118, 124, 130 maintains the same data stores that define CNAME records, which can be managed centrally by the CDN service provider 106. Alternatively, each DNS nameserver component 118, 124, 130 can have a POP specific data stores that define CNAME records, which can be managed centrally by the CDN service provider 106 or locally at the POP 116, 122, 128.
The returned CNAME can also include request routing information that is different from or in addition to the information provided in URL/CNAME of the current DNS query. For example, if the CNAME selection is based on regional plan, a specific regional plan can be identified in the “request_routing_information” portion of the specific CNAME record. A similar approach could be taken to identify service level plans and file management by including a specific identifier in the “request_routing_information” portion of the CNAME record. In another embodiment, request routing information can be found in the identification of a CDN service provider 106 domain different from the domain found in the current URL/CNAME. For example, if the CNAME is based on regional plan, a specific regional plan domain (e.g., “cdnprovder-region1.com”) could be used in the domain name portion of the specific CNAME record. Any additional request routing information can be prepended to the existing request routing information in the current URL/CNAME such that the previous request routing information would not be lost (e.g., serviceplan.regionalplan.cdnprovider.com). One skilled in the relevant art will appreciate that additional or alternative techniques and/or combination of techniques may be used to include the additional request routing information in the CNAME record that is selected by the DNS nameserver component 118.
With continued reference to
With reference now to
For purposes of illustration, assume that the DNS nameserver component 118 determines that the DNS query corresponding to the current CNAME (provided by DNS nameserver component 116) also corresponds to a CNAME record in its data store. In such an example, the DNS nameserver component 124 would do any necessary processing to select a specific CNAME and return the CNAME to the client computing device. With reference now to
In an illustrative embodiment, the DNS nameserver components, such as DNS nameserver component 130, can utilize a variety of information in selecting a resource cache component. In one example, the DNS nameserver component can default to a selection of a resource cache component of the same POP. In another example, the DNS nameserver components can select a resource cache component based on various load balancing or load sharing algorithms. Still further, the DNS nameserver components can utilize network performance metrics or measurements to assign specific resource cache components. The IP address selected by a DNS nameserver component may correspond to a specific caching server in the resource cache. Alternatively, the IP address can correspond to a hardware/software selection component (such as a load balancer).
With reference now to
With reference now to
At block 802, one of the DNS nameserver components 118, 124, 130 obtains a DNS query corresponding to resource identifier (the “receiving DNS nameserver”). As previously discussed, the resource identifier can be a URL that has been embedded in content requested by the client computing device 102 and previously provided by the content provider 104. Alternatively, the resource identifier can also correspond to a CNAME provided by a content provider DNS nameserver in response to a DNS query previously received from the client computing device 102. At block 804, the receiving DNS nameserver obtains content provider cost information. As described above, in an illustrative embodiment, the cost information may be included, at least in part, in the modified URL or CNAME. Such cost information may specify that the CDN service provider 106 should utilize cost information in attempting to resolve the DNS query. Alternatively, the cost information may specify specific financial cost thresholds to be utilized by the CDN service provider in attempting to resolve the DNS query. In another embodiment, the receiving DNS nameserver can obtain the cost information, or portion thereof, according to a client identifier including the “additional information” or “request routing information” labels of the modified URL or CNAME, respectively.
At decision block 806, a test is conducted to determine whether the current DNS nameserver is authoritative to resolve the DNS query. In one illustrative embodiment, the DNS nameserver can determine whether it is authoritative to resolve the DNS query if there are no CNAME records corresponding to the received resource identifier. For example, based on the receiving DNS nameserver may maintain one or more CNAMEs that define various cost alternatives for request routing processing. In this embodiment, the receiving DNS can utilize the cost information obtained in block 804 to select the appropriate CNAME. Alternatively, the receiving DNS may select a CNAME without requiring additional information from the URL or CNAME. As previously discussed the selection of the appropriate CNAME corresponding to the alternative POP will depend in part on the cost criteria implemented by the CDN service provider 106. In one example, the cost information may designate that the content provider 104 has requested that the CDN service provider 106 select the DNS nameserver of the CDN service provider 106 associated with the lowest current cost to provide the requested resource. Accordingly, the CDN service provider 106 could obtain cost information for at least a portion of the POPs and select a CNAME corresponding to a DNS nameserver associated with the lowest cost. In another example, the cost information may designate the content provider 104 has requested that the cost associated with the providing the requested resource be maintained below one or more cost thresholds or cost tiers. Accordingly, the CDN service provider 106 could obtain cost information for at least a portion of the POPs and select a CNAME corresponding to a DNS nameserver associated with a cost satisfying the specified cost threshold. Alternative or additional methodologies may also be practiced to determine whether the DNS nameserver is authoritative.
If the current DNS nameserver is authoritative (including a determination that the same DNS nameserver will be authoritative for subsequent DNS queries), the current DNS nameserver resolves the DNS query by returning the IP address of cache server component at block 808. In a non-limiting manner, a number of methodologies for selecting an appropriate resource cache component have been previously discussed. Additionally, as described above, the IP address may correspond to a specific cache server of a resource cache component or generally to group of cache servers.
Alternatively, if at decision block 806, the DNS nameserver is not authoritative, at block 810, the DNS nameserver component selects and transmits an alternative resource identifier. As described above, the DNS nameserver component can utilize a data store to identify an appropriate CNAME as a function of the current DNS query. Additionally, the DNS nameserver component can also implement additional logical processing to select from a set of potential CNAMES. At block 812, different DNS nameserver components 118, 124, 130 receive a DNS query corresponding to the CNAME. The routine 800 then returns to decision block 806 and continues to repeat as appropriate.
Although routine 800 has been illustrated with regard to the utilization of alternative resource identifiers (e.g., CNAMES) to facilitate the request routing processing to different DNS severs within the CDN server provider 106 network. One skilled in the relevant art will appreciate that CDN service provider 106 may utilize cost information included in the modified URL to resolve DNS queries without utilizing an alternative resource identifier. In such an embodiment, the CDN service provider would utilize a communication network and protocol to facilitate the forwarding of DNS queries selected according to cost information.
While illustrative embodiments have been disclosed and discussed, one skilled in the relevant art will appreciate that additional or alternative embodiments may be implemented within the spirit and scope of the present invention. Additionally, although many embodiments have been indicated as illustrative, one skilled in the relevant art will appreciate that the illustrative embodiments do not need to be combined or implemented together. As such, some illustrative embodiments do not need to be utilized or implemented in accordance with scope of variations to the present disclosure.
Conditional language, such as, among others, “can,” “could,” “might,” or “may,” unless specifically stated otherwise, or otherwise understood within the context as used, is generally intended to convey that certain embodiments include, while other embodiments do not include, certain features, elements and/or steps. Thus, such conditional language is not generally intended to imply that features, elements and/or steps are in any way required for one or more embodiments or that one or more embodiments necessarily include logic for deciding, with or without user input or prompting, whether these features, elements and/or steps are included or are to be performed in any particular embodiment.
Any process descriptions, elements, or blocks in the flow diagrams described herein and/or depicted in the attached figures should be understood as potentially representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process. Alternate implementations are included within the scope of the embodiments described herein in which elements or functions may be deleted, executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those skilled in the art. It will further be appreciated that the data and/or components described above may be stored on a computer-readable medium and loaded into memory of the computing device using a drive mechanism associated with a computer readable storing the computer executable components such as a CD-ROM, DVD-ROM, or network interface further, the component and/or data can be included in a single device or distributed in any manner. Accordingly, general purpose computing devices may be configured to implement the processes, algorithms and methodology of the present disclosure with the processing and/or execution of the various data and/or components described above.
It should be emphasized that many variations and modifications may be made to the above-described embodiments, the elements of which are to be understood as being among other acceptable examples. All such modifications and variations are intended to be included herein within the scope of this disclosure and protected by the following claims.
This application is a continuation of U.S. patent application Ser. No. 12/272,655, entitled “REQUEST ROUTING UTILIZING COST INFORMATION,” and filed on Nov. 17, 2008, the disclosure of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 12272655 | Nov 2008 | US |
Child | 14281165 | US |