我正在尝试使用GAE使用http流。
逻辑流程是{source1..N} - > [GAE] - >浏览器报告和显示
据我了解,HTTP流将永远运行,因此简单的GET流程循环将无法工作。 任何人都可以推荐一种可以在GAE模型中使用的替代方法吗?
I am trying to consume an http stream using GAE.
the logical flow is {source1..N} --> [GAE] --> browser reporting & display
As I understand it, an HTTP stream will run forever, so a simple GET-process cycle won't work. Can anyone recommend an alternative approach that will work in the GAE model?
最满意答案
我不确定你的要求是什么,但也许你可以查看Channels API? 因此,您可以将应用程序的更新发送到订阅浏览器,而不是打开连续的流。
Google App Engine - 渠道API概述
I'm not sure what your requirement is but maybe you could look at the Channels API? So instead of having a continuous stream open, you could send updates from your app to a subscribing browser.
Google App Engine - Channels API Overview
更多推荐
发布评论