Home > Backend Development > PHP Tutorial > Qiniu Cloud Storage - Qiniu manually triggers persistence to handle phpsdk issues

Qiniu Cloud Storage - Qiniu manually triggers persistence to handle phpsdk issues

WBOY
Release: 2016-07-06 13:51:31
Original
1066 people have browsed it

1. The requirement is: convert pdf into pictures of three sizes. The number is large, probably close to three hundred at most.
2. Using phpsdk, use persistFop execute method to trigger

Problems:
1. During use, PHP execution timeout often occurs.
2. notifyUrl was specified but no callback information was received.
3.Isn’t the persistence processing asynchronous? After the processing is completed, the specified notifyUrl is notified? The current situation seems to be waiting for response
4. Also, the notification is done for each fop. A pullback?

Reply content:

1. The requirement is: convert pdf into pictures of three sizes. The number is large, probably close to three hundred at most.
2. Using phpsdk, use persistFop execute method to trigger

Problems:
1. During use, PHP execution timeout often occurs.
2. notifyUrl was specified but no callback information was received.
3.Isn’t the persistence processing asynchronous? After the processing is completed, the specified notifyUrl is notified? The current situation seems to be waiting for response
4. Also, the notification is done for each fop. A pullback?

1. The execution timeout may be caused by network jitter, or there may be processing problems, which require detailed investigation. It is recommended that you submit a work order to Qiniu
2. notifyUrl specific reference document, whether your callback address is accessible from the public network, and callback Is the received file written correctly?
http://blog.csdn.net/netdxy/article/details/49023099
3. The completion notification will be processed. Are you processing it through a private queue? Does the processing time take longer?
4. Yes, you will be notified every time a PFop request is triggered

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template