Se ha denunciado esta presentación.
Se está descargando tu SlideShare. ×

How to get your sanity back with socket.io

Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Anuncio
Próximo SlideShare
Screencasting Matrix
Screencasting Matrix
Cargando en…3
×

Eche un vistazo a continuación

1 de 17 Anuncio

Más Contenido Relacionado

Similares a How to get your sanity back with socket.io (20)

Anuncio

Más reciente (20)

How to get your sanity back with socket.io

  1. 1. HOW TO GET YOUR SANITY BACK WITH SOCKET.IO
  2. 2. YO! I am Danielius Visockas
  3. 3. I had to build a chat
  4. 4. Realtime was a problem At least for me
  5. 5. Because I’m a ruby developer.
  6. 6. Problem? ✘ Polling ✘ Long polling ✘ Very long polling ✘ Web Sockets ✘ SSE ✘ Just use some service
  7. 7. No
  8. 8. socket.io with node.js to the rescue
  9. 9. Socket.io abstracts realtime like jQuery does for Ajax
  10. 10. Supported transports ✘ Web Socket ✘ Adobe Flash Sockets ✘ Long polling ✘ Multipart streaming ✘ JSONP Polling ✘ Forever iframe
  11. 11. Supported browsers ✘ IE 5.5+ ✘ Safari 3+ ✘ Chrome 4+ ✘ Firefox 3+ ✘ Opera 10+ ✘ iSafari ✘ Android WebKit ✘ WebOs Webkit
  12. 12. It has friends
  13. 13. redis Ruby server node & socket.io PGsql
  14. 14. Redis PostgreSQL
  15. 15. Client code
  16. 16. Caveats ✘ Security ✘ Adds complexity
  17. 17. Thank you Any questions? You can find me at @dvisockas For more info visit http://socket.io

×