Socket.IO and Realtime Applications with Guillermo Rauch

guillermo-rauch

“Events provide a very nice organization over persistent connections and that’s why we chose them. We think they’re also a very fundamental way of thinking about systems.”

Socket.io enables realtime bidirectional communication. But what does “realtime” actually mean? Today’s guest is Guillermo Rauch, the creator of Socket.IO, a widely used technology for client server communication. We discuss the nature of real-time apps like Uber and Google Docs, and talk about the API and usage of Socket.IO.

Questions

  • What is your definition of the term “realtime” and why do you disagree with the way it’s been applied to web applications?
  • Is realtime more dependent on the user’s perception of speed, rather than the application’s actual performance?
  • How did you arrive at the conclusion that the server should push data to clients as the central source of truth?
  • What are some typical problems developers encounter when they’re dealing with connectivity issues?
  • What are the important consequences of TCP that we should keep in mind as we are building real-time applications?
  • How does Socket.IO work?
  • What are the challenges to maintaining a persistent client-server connection, and how does Socket.IO achieve this?

Links

Sponsors

wealthfront-logo Wealthfront is the automated investment service that manages your investments online. Check out wealthfront.com/sedaily to get your first $15,000 managed for free, as a listener of Software Engineering Daily.
digitalocean-logo Digital Ocean is the simplest cloud hosting provider. Use promo code SEDAILY for $10 in free credit.

Comments