Choose Between REST, WebSocket, and Server-Sent Events for an Agent Runtime

Read the full interview experience this question came from →

Quick Overview

Choose an interface for an agent runtime that accepts jobs, streams progress, supports cancellation, and survives client reconnects. Compare ordinary HTTP, Server-Sent Events, and WebSocket by directionality, replay needs, infrastructure compatibility, and job duration.

Choose Between REST, WebSocket, and Server-Sent Events for an Agent Runtime

Company: ByteDance

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Overview: Choose an interface for an agent runtime that accepts jobs, streams progress, supports cancellation, and survives client reconnects. Compare ordinary HTTP, Server-Sent Events, and WebSocket by directionality, replay needs, infrastructure compatibility, and job duration.

Read the full ByteDance Software Engineer interview experience this question came from

ByteDance logo
ByteDance
Aug 13, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
1
0
Loading...