Implement full-duplex communication with WebSockets and server-sent events. Manage connection lifetimes, heartbeats, message limits, backpressure, and concurrent readers and writers.