Abstract:
Embodiments of the present invention relate to a route decision method, a content delivery apparatus, and a content delivery network interconnection system. A route decision method includes: receiving a notification message sent by a downstream CDN; determining a current service aggregate according to the notification message; and according to the current service aggregate and a total service quantity thresholdtotal quantity of services, performing route decision on a to-be-forwarded user request, where the total service quantity thresholdtotal quantity of services is an upper limit, set by the downstream CDN, of services capable of being provided by the downstream CDN for an upstream CDN. The embodiments of the present invention improve the accuracy of an upstream CDN in selecting a downstream CDN for a to-be-forwarded user request, and thereby improve the route decision efficiency.
Abstract:
An image processing method to reduce access pressure of each image in an image set, where the image processing method includes obtaining a quantity of times each image layer in an image set is accessed, determining one or more first image layers, where a quantity of times the first image layer in the image set is accessed is greater than a first threshold, and the first image layer has at least two child image layers, generating a copy of the first image layer, and modifying some child image layers of the first image layer to child image layers of the copy of the first image layer.
Abstract:
An image deployment method includes obtaining a configuration policy for a container, where the configuration policy for the container includes an autoscaling policy or a replication control policy. The autoscaling policy includes a first image identifier, a maximum quantity of containers corresponding to the first image identifier that can be deployed, and a quantity of currently deployed containers corresponding to the first image identifier. The replication control policy includes a second image identifier and a quantity of containers corresponding to the second image identifier that are expected to be deployed. The method determines an identifier of a to-be-deployed image according to the configuration policy for the container.
Abstract:
An image processing method to reduce access pressure of each image in an image set, where the image processing method includes obtaining a quantity of times each image layer in an image set is accessed, determining one or more first image layers, where a quantity of times the first image layer in the image set is accessed is greater than a first threshold, and the first image layer has at least two child image layers, generating a copy of the first image layer, and modifying some child image layers of the first image layer to child image layers of the copy of the first image layer.
Abstract:
Embodiments of the present invention relate to a route decision method, a content delivery apparatus, and a content delivery network interconnection system. A route decision method includes: receiving a notification message sent by a downstream CDN; determining a current service aggregate according to the notification message; and according to the current service aggregate and a total service quantity thresholdtotal quantity of services, performing route decision on a to-be-forwarded user request, where the total service quantity thresholdtotal quantity of services is an upper limit, set by the downstream CDN, of services capable of being provided by the downstream CDN for an upstream CDN. The embodiments of the present invention improve the accuracy of an upstream CDN in selecting a downstream CDN for a to-be-forwarded user request, and thereby improve the route decision efficiency.
Abstract:
A content delivery network (CDN) routing method, device and system. The file path identifier is bound to the server. When a file request is received, the file path identifier carried in the file request is extracted, and the server that provides a service is determined according to the binding relationship between the file path identifier and the server, and therefore, the requests that ask for the same file are routed to the same server that provides a service, which prevents the same file request from being routed to different servers and prevents repeated caching of the file content. In addition, because the requests that ask for the same file are routed to the same server, the user request hit ratio is improved, and the system response speed is increased, which improves the user experience.
Abstract:
This application discloses an image deployment method, where the image deployment method is applied to a container system. Information about an image that has been deployed on each host is collected. After an image tag of a to-be-deployed image is obtained, a degree of overlapping between the image that has been deployed on each host and the to-be-deployed image is determined. A host with a higher overlapping degree needs to download a smaller amount of data when deploying the to-be-deployed image and deploys the to-be-deployed image at a higher speed. Finally, a management node selects, according to overlapping degrees of the hosts, a deployment host for deploying the to-be-deployed image.