Alibaba Cloud CDN edge image processing function internal test

Introduction: In the current network environment, when companies are distributing image content, they need to perform image conversion more quickly and efficiently, so as to adapt to the resolution and image format of each terminal screen and the network environment the user is in to improve Display of results. At the same time, a large number of high-quality images often consume more bandwidth, and enterprises also need to find the best balance between cost and quality. In order to better serve enterprise customers, the "Edge Image Processing" function of Alibaba Cloud CDN combines different clients, network environments, and image specifications to deliver optimal image management capabilities for customers at edge nodes.

In the current network environment, when companies are distributing image content, they need to perform image conversion more quickly and efficiently, so as to adapt to the resolution of each terminal screen, image format, and the network environment where the user is located, so as to improve the display effect . At the same time, a large number of high-quality images often consume more bandwidth, and enterprises also need to find the best balance between cost and quality.


In order to better serve enterprise customers, the Alibaba Cloud CDN "edge image processing" function combines different clients, network environments, and image specifications to deliver the best image management capabilities for customers at the edge nodes, helping customers reduce the difficulty of image management , Improve the effect and efficiency of end users' picture access, and provide the best Internet access experience.


This article will reveal the value, application and how to apply for "Edge Image Processing" for you.


You need edge image processing


Are you facing the following pain points:

  • Users have multiple terminals, and unified picture pairs require multiple sizes to meet the access needs of different terminals;
  • The network environment is very different. Pictures that can be opened normally under a normal network may take a long time or cannot be accessed under a weak network environment;
  • Different browsers or systems support different friendliness of image formats, and have flexible requirements for image formats;
  • The same picture will generate multiple derivative pictures, the manual processing of pictures is slow, the management cost is high, and the storage and calculation costs of the generated derivative pictures are also high.


Do you have the following demands:

  • Improve the efficiency of image loading, improve the efficiency of end-user access, and reduce the operation and maintenance management costs of a large number of derivative images;
  • There are high-frequency requirements for image scaling, image cropping, adaptive network environment and terminals, rotation, format conversion, and watermarking.


Comparison with current solutions on the market:

  • The CDN carries the conversion parameters for conversion at the source site, and the converted pictures are returned to the CDN and then distributed to users. This approach will consume the computing resources of the source station. During the peak period of image processing concurrency, the computing power of the source station will be preempted, or even overload;
  • Turn the target picture in advance and store the source site, corresponding to different request urls. This approach wastes source site storage, and target pictures with low access rates also need to be improved in advance.



Improved edge image processing experience starts immediately


Alibaba Cloud CDN serves hundreds of thousands of customers around the world. There are diversified types of customer origin sites and some origin sites do not have the ability to convert images. "Edge image processing" is the optimization and management of pictures on the CDN node. The supported picture-related operations include: scaling, cropping, quality conversion, format conversion, rotation, sharpening, brightness, contrast, watermark, etc., which can be used for e-commerce , Tourism, music, finance, media and games industries, provide fast, convenient, high-quality Internet image acceleration experience, reduce development and storage costs.


Functional advantages of edge image processing:

  • Faster distribution experience

After the original image is cached at the return-to-source node, the edge-triggered multi-size image access needs are processed and distributed directly at the return-to-source node, reducing the return-to-origin link and reaching the edge faster, reducing the overall request time and improving response effectiveness.

  • Faster page loading

When the image is processed by the CDN and returned to the client for access, the image can be zoomed and compressed without affecting the customer's viewing experience, and the image size can be reduced to make the page open faster and have a better experience.

  • Reduce source station pressure and cost

Derivative maps consume a large amount of storage and computing power of the source station, increasing the development and maintenance costs of the source station. Image processing is performed through CDN, all image processing and caching are completed through CDN nodes, and the origin site is not aware, so as to achieve the purpose of saving storage space for the origin site and reducing conversion and calculation costs.

  • Improve refresh and warm-up efficiency

After the original image is refreshed and invalidated, all the derived images corresponding to the original image will also be invalid and inaccessible. There is no need to refresh the derived images, which reduces the number of submissions for refresh and preheating, and at the same time saves the bandwidth generated by returning to the source.

  • Edge demand customization

Image processing is controlled through image processing parameters, and different image processing requirements can be customized according to different browsers and client versions to meet the business needs of different customers in different scenarios.


Edge image processing method:

Alibaba Cloud CDN supports edge image processing. The type of processing is passed in as a parameter, and the request parameter is image_process. Support multiple conversion parameters at the same time, such as crop, rotate, etc., multiple conversion parameters are separated by forward slash (/).

Processing method: image_process=action1,param_value1/action2,param_value2.

Operation example: image_process=resize,l_200/quality,q_90/format,webp.


Edge image processing internal test open


At present, the edge image processing function is in the internal test stage, and you need to submit a work order to apply for activation.

  • How to apply: Click at the end of the article to read the original text, enter the CDN product documentation page, and click Submit Work Order;
  • The image processing is a paid service, and there will be no charge during the internal test period. The charge time will be notified separately. The image processing entrance is added to the domain name management. After the customer has opened it, it can be closed at any time.


Screen shot 2021-03-02 at 3.04.28.png

Click to enter the product documentation page to learn more & apply for internal test


Original link: https://developer.aliyun.com/article/782298?

Copyright statement: The content of this article is voluntarily contributed by Alibaba Cloud real-name registered users. The copyright belongs to the original author. The Alibaba Cloud Developer Community does not own its copyright and does not assume corresponding legal responsibilities. For specific rules, please refer to the "Alibaba Cloud Developer Community User Service Agreement" and the "Alibaba Cloud Developer Community Intellectual Property Protection Guidelines". If you find suspected plagiarism in this community, fill in the infringement complaint form to report it. Once verified, the community will immediately delete the suspected infringing content.

Guess you like

Origin blog.csdn.net/alitech2017/article/details/114655954
Recommended