I have a Google App Engine application that makes about 30-50 calls to the remote API. Each call takes about a second, so the whole operation can take a minute. I am currently doing this in a loop inside the post () function of my site, so the response does not print until the whole operation is complete. Needless to say, the application is not very convenient at the moment.
I would like to do this to print the response immediately after the operation starts, and then update it at the end of each individual API call. How can i achieve this? In a desktop application, I would just start a workflow that periodically updates the interface. Is there a similar mechanism in the Google App Engine?
I searched for “progress” and “google engine”, but most of the results are from people who want to track the progress of a file upload. My situation is different: a time-consuming task is performed on the server, so the client cannot do so to track its progress. This guy is the closest I could find, but he works in Java.
misha source share