disinfeqt

HTML5 WebSockets and Comet

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