One of the functions of my App Engine (Flexible) app is rather long running - perhaps 30 seconds or so, comprising of various download and compilation steps. I would like to provide feedback to the user as a series of log messages.
This can be accomplished in various ways:
1) Open a WebScoket connection and stream the results to a javascript app.
2) Open a standard HTTP connection and stream the results unbuffered. Read the results as a stream using javascript.
It seems WebSockets aren't supported (I'm on the alpha waiting list). I've also not been able to get method #2 working either... It works fine in my local test, but when deployed, it seems the App Engine system buffers all HTTP connections before sending... Or perhaps that's a side effect of switching from HTTP to HTTPS?
Any ideas on how I can accomplish this without resorting to polling?