inflearn logo

Anatomy of Real-Time Two-Way Communication with WebSockets, SSE, and WebRTC

This course teaches you how to resolve issues yourself by understanding how SSE, WebSockets, and WebRTC work, rather than relying solely on library defaults when real-time notifications, chat, or AI streaming break up or fall behind in production. You’ll reproduce common failures in the PulseRoom practice app on your own computer, compare behavior before and after improvements, and learn how to design for stability.

3 learners are taking this course

Level Intermediate

Course period Unlimited

websocket
websocket
webrtc
webrtc
nginx
nginx
websocket
websocket
webrtc
webrtc
nginx
nginx

What you will gain after the course

  • Criteria for choosing SSE, WebSockets, or WebRTC based on the requirements for notifications, AI streaming, chat, and real-time collaboration

  • A reconnection and synchronization design that seamlessly resumes after brief network interruptions without losing events or sending duplicates.

  • An operational architecture that prevents a single slow user from causing server memory to balloon under backpressure and supports scaling across multiple servers.

  • The ability to directly manage and diagnose WebRTC P2P connections, including signaling, NAT traversal, data channels, and quality metrics.

Recommended for
these people

Who is this course right for?

  • Backend and full-stack developers running chat, real-time notifications, and AI response streaming who struggle with disconnections and lost messages.

  • For those who want to understand how frames, heartbeats, reconnection, and backpressure actually work inside the library.

  • For those looking to establish real-time architecture standards that go beyond a single server to include multi-server fan-out and WebRTC P2P.

Need to know before starting?

  • Basic experience with HTTP requests and responses and the fundamentals of JavaScript and Python is enough. With just Python 3 and the Chrome browser, you can practice for free on macOS, Windows, or Linux.

Hello
This is catgpt

A through-and-through AI researcher, 'CatGPT', who busted their ass reading papers and fine-tuning models. Then one day, a bolt-from-the-blue mission landed in their lap: "You’ve finished building the model, right? Now write the front end and back end too so we can deliver it to the client."

To survive, I was forced to make a tearful career change into a full-stack developer. After successfully delivering the solution and making it back, AI had advanced so much that this time, instead of coding, I found myself taking on the role of a PM coordinating a team with AI...!

Not stopping there, this max-level engineer went all in and poured their full-stack soul into building a “lecture production automation pipeline” and even bringing an “AI instructor” to life. What fate awaits CatGPT, the full-stack AI engineer who has automated even their own livelihood(?)!

More

Curriculum

All

40 lectures ∙ (5hr 49min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

catgpt's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

Limited time deal

$24,750.00

50%

$38.50