如何在谷歌应用程序引擎上创建一个聊天室,有一些演示吗?和例子?
有任何应用程序引擎已经做到了这一点吗?
谢谢
has any app engine already do this ?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
有任何应用程序引擎已经做到了这一点吗?
谢谢
has any app engine already do this ?
thanks
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
Partychat 是在 App Engine 上运行的基于 XMPP 的聊天室示例。而且它是开源。
Partychat an example of an XMPP-based chatroom running on App Engine. And it's open-source.
AppEngine 仅支持 HTTP 并限制响应时间(这使得 Comet 不可行)。
唯一(受支持)的方法是 XMPP,但它仅支持BOSH 协议,不利于从服务器到客户端的推送。
看来你唯一的方法就是轮询。
AppEngine only supports HTTP and limits the response time (which makes Comet a no-go).
The only (supported) way is XMPP, but it only supports BOSH protocol, which does not facilitate push from server to clients.
It seems that your only way would be polling.