HTML5 WebSockets and Comet

2010-09-30 09:59:53 +08:00
 disinfeqt
=>

http://pusherapp.com/
http://beaconpush.com/
http://www.cometify.org/

Things to be done by. Because @Livid jibs at developing an AJAX framework for V2EX, so I say: Hey, WebSockets!
This is the kinda technology that you have to pay attention to.
6246 次点击
所在节点    分享发现
10 条回复
billychow
2010-09-30 10:05:06 +08:00
disinfeqt
2010-09-30 10:07:26 +08:00
@billychow I'm not talking about running "as a" server.
zhaiduo
2010-09-30 10:12:53 +08:00
billychow
2010-09-30 10:27:45 +08:00
我觉得问题根本不是在于是否作为 SERVER,而是 GAE 的限制,你不能创建一个持久的链接,无论是 pull 还是 push...

"For instance, a call to a method that attempts to open a socket or write to a file will raise an exception."
from: http://code.google.com/appengine/docs/whatisgoogleappengine.html
billychow
2010-09-30 17:37:50 +08:00
刚刚似乎找到了一个可能:Channel API
但是似乎还没有开放,只能申请体验
https://spreadsheets.google.com/a/google.com/viewform?formkey=dGFxQ1A4T1BSYWxNdFlYVFhUcmg2amc6MQ
Livid
2010-09-30 17:40:59 +08:00
I'll study it.
lamengao
2010-09-30 17:42:55 +08:00
Building real-time web apps with App Engine and the Feed API
http://goo.gl/zrbc
lepture
2010-09-30 18:51:07 +08:00
@billychow gae blog曾经有一篇提到过Comet, 将会在以后提供吧。
billychow
2010-09-30 18:55:22 +08:00
嗯,Google I/O 上也有讲过,还放了 DEMO。
不过现在还没有开放,非常期待这个功能,因为我目前做的一个应用就是 pull,而由于 gae 的计划任务限制最小间隔时间为 1 分钟,所以实时性不能保障,有些浪费资源。
lamengao
2010-09-30 19:15:52 +08:00
GAE的roadmap中有对Comet的支持,就是不知道是什么时候了。
http://code.google.com/appengine/docs/roadmap.html

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/3005

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX