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