You can specify the x-oss-async-process field to execute a processing task in asynchronous mode. In this mode, an application can proceed to execute another task without needing to wait until the current task is completed. Asynchronous processing is suitable for tasks that require a long period of time for execution, such as document conversion, video transcoding, and video stitching.
Usage notes
The processed files are not returned with the response for an asynchronous processing request. Therefore, you must manually save the processed files to Object Storage Service (OSS). Additionally, we recommend that you enable message notifications to obtain the results of asynchronous tasks. For more information, see Save As and Message Notification.
Operations that support asynchronous processing
You must replace the asterisk (*) in the operation name described in the following table with the actual data processing parameter. For example, you can specify x-oss-async-process=doc/convert
to perform a document conversion operation.
Feature | Operation | References | Methods |
Document processing | x-oss-async-process=doc/* |
| |
Media Processing |
|
Reference
For more information about how to save processed files in OSS, see sys/saveas.