disinfeqt

HTML5 WebSockets and Comet

  •  
  •   disinfeqt · Sep 30, 2010 · 7464 views
    This topic created in 5879 days ago, the information mentioned may be changed or developed.
    =>

    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.
    10 replies  •  1970-01-01 08:00:00 +08:00
    disinfeqt
    disinfeqt
    OP
    Sep 30, 2010
    2
    @billychow I'm not talking about running "as a" server.
    zhaiduo
    zhaiduo
    Sep 30, 2010
    3
    billychow
    billychow
    Sep 30, 2010
    4
    我觉得问题根本不是在于是否作为 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
    billychow
    Sep 30, 2010
    5
    刚刚似乎找到了一个可能:Channel API
    但是似乎还没有开放,只能申请体验
    https://spreadsheets.google.com/a/google.com/viewform?formkey=dGFxQ1A4T1BSYWxNdFlYVFhUcmg2amc6MQ
    Livid
    Livid
    MOD
    PRO
    Sep 30, 2010
    6
    I'll study it.
    lamengao
    lamengao
    Sep 30, 2010
    7
    Building real-time web apps with App Engine and the Feed API
    http://goo.gl/zrbc
    lepture
    lepture
    Sep 30, 2010
    8
    @billychow gae blog曾经有一篇提到过Comet, 将会在以后提供吧。
    billychow
    billychow
    Sep 30, 2010
    9
    嗯,Google I/O 上也有讲过,还放了 DEMO。
    不过现在还没有开放,非常期待这个功能,因为我目前做的一个应用就是 pull,而由于 gae 的计划任务限制最小间隔时间为 1 分钟,所以实时性不能保障,有些浪费资源。
    lamengao
    lamengao
    Sep 30, 2010
    10
    GAE的roadmap中有对Comet的支持,就是不知道是什么时候了。
    http://code.google.com/appengine/docs/roadmap.html
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4922 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 07:58 · PVG 15:58 · LAX 23:58 · JFK 02:58
    ♥ Do have faith in what you're doing.