The P2P acceleration feature uses the internal bandwidth resources of compute nodes to distribute images among the nodes. This feature can accelerate image pulling to reduce the time required to deploy applications. If a large number of nodes in a container cluster need to pull an image at the same time, you can use the P2P acceleration feature to accelerate the pulling.

Images are stored in Object Storage Service (OSS). When a large number of nodes in a container cluster pull an image at the same time, the network bandwidth of the OSS service becomes the performance bottleneck. As a result, it takes a long period of time to pull the image to all the nodes. The P2P acceleration feature uses the internal bandwidth resources of compute nodes to distribute images among the nodes. This reduces the pressure on OSS that stores the images and significantly increases the image pulling speed. The time required to deploy applications is greatly reduced. In a test that was performed, 1,000 nodes pulled an image of 1 GB in size at the same time in P2P mode and then in regular mode where the OSS bandwidth is 10 Gbit/s. The test result shows that the P2P mode reduces the image pulling time by about 95% or more, compared with the regular mode.

You can use the P2P acceleration feature in the following scenarios: