LabHub
Get started
배우기 러닝패스 코스

Real-Time Communication — WebSocket, gRPC Streaming and WebRTC

소켓 기초를 마친 개발자를 위한 실시간 프로토콜 코스입니다. HTTP/2 스트림과 흐름 제어, 커넥션 풀 고갈, WebSocket 의 바이트와 운영, gRPC 스트리밍의 기한·취소·keepalive·재시도, WebRTC 의 시그널링·ICE·데이터 채널을 같은 파드 안의 실제 연결로 구현하고 잽니다. 마지막 실습에서는 16kHz 음성 프레임을 WebSocket 과 WebRTC 로 보내 지연 분포를 비교해 음성 AI 코스로 이어집니다. HTTP/3 은 실습 파드에서 패킷 손실을 만들 수 없어 읽기로 다룹니다.

중급 · 레슨 28 · 실습 8

실습 시작하기

커리큘럼

HTTP/2 — Many requests on one connection

Where head-of-line blocking survives — HTTP/3 and QUIC

When the connection pool runs dry, fast requests queue too

Reading WebSocket byte by byte

Operating long-lived WebSockets

The four shapes of gRPC streaming

gRPC deadlines, cancellation, flow control and keepalive

SSE, WebSocket, gRPC streaming or WebRTC?

WebRTC — you build the signaling yourself

Measure real-time channels and send voice frames

참고 문서