realtime - passado, presente e futuro

  • 2,103 views
Uploaded on

Palestra apresentada no primeiro encontro do rio.js, sobre desenvolvimento de aplicações 'realtime' desde a era pré ajax até os dias de hoje.

Palestra apresentada no primeiro encontro do rio.js, sobre desenvolvimento de aplicações 'realtime' desde a era pré ajax até os dias de hoje.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
2,103
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
16
Comments
1
Likes
4

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

  • 1. real timepassado, presente e futuro@andrewsmedina
  • 2. sobre mimcobrateam founderadmin python-br, djangobrasildesenvolvedor globo.com
  • 3. real time?
  • 4. viagem no tempo
  • 5. pré-ajax
  • 6. ajax polling var streaming = function() { $.getJSON(url, function(data) { // acoes setTimeout(function() { streaming();}, 15000); }); };
  • 7. long polling fecha a requisição apenas quando tem uma resposta looping infinito hack iframe infinito
  • 8. websocket e evensource
  • 9. websocketbi-direcionalconexão entre o browser e o servidorprotocolo diferente
  • 10. websocketfirefox 4chrome 4opera 11safari 5ie?
  • 11. websockethttp://socket.io
  • 12. eventsource ouserver-sent events HTTP unilateral
  • 13. eventsourceContent-Type: text/event-streamCache-Control: no-cacheConnection: keep-alive
  • 14. eventsourcechrome 9opera 11safari 5firefox 6ie?
  • 15. eventsourcehttps://github.com/remy/polyfills
  • 16. websocket x eventsource
  • 17. websocket & eventsource
  • 18. server-side twisted tornado cramp socket.io nginx-push-stream-module
  • 19. twisted python https://github.com/rlotun/txWebSocket
  • 20. tornadofacebookhttp://www.tornadoweb.org/https://github.com/facebook/tornado/tree/master/demos/websocket
  • 21. crampruby
  • 22. socket.io node.js server e client(fallback)
  • 23. nginx-push-stream-modulehttps://github.com/wandenberg/nginx-push-stream-module
  • 24. perguntas?@andrewsmedina