ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Realtime Web
             (Useful Paradigm)
    http://usefulparadigm.com
HTTP + Realtime = ?
Periodic Refresh
          (Ajax Polling)

Broswer                    Server
           request
           response
                               Event (state change)

           request
           response



           request
           response
Comet (Streaming)
Broswer                    Server
             request


                               Event (state change)
          response(part)



                               Event (state change)
          response(part)
Comet (Long Polling)
Broswer              Server
          request




          response
          request
          response       Event (state change)

          request



          response
Comet
  Implementations

Bayeux




         *   : Comet Maturity Guide (http://cometdaily.com/maturity.html)
An Integration Example

 Web App. Framework             STOMP
                                         Orbited   MQ
 (like Rails, Django ..)


     HTTP                    Comet
                           (TCPSocket)



       Browser
WebHook
Broswer                                Server
                request                        Event (state change)



                              POST




              Callback



          * cf. PubSubHubbub: http://code.google.com/p/pubsubhubbub/
XMPP

? Message stanza
? Presense stanza
? IQ stanza
Realtime Web ???
BOSH
(Bidirectional-streams Over Synchronous HTTP)
Juggernaut
(http://juggernaut.rubyforge.org/)


?ash
object


                              push
                             server
Long long time ago..
Return of the Socket


             HTML5 WebSocket




*   : http://www.?ickr.com/photos/54873020@N00/3179059081/
Realtime Web ???

More Related Content

Realtime Web ???

Editor's Notes

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n