WebSockets are superior from a technical perspective, no arguing that. But, long-polling makes for more straightforward APIs, which could be valuable if you&#x27;re more concerned about developer UX than the number of bytes on the wire.<p>For example, long-polling can actually be RESTful, so it fits in well with conventional API practices. It&#x27;s also naturally resilient to network issues since each re-poll heals the stream. Users are very unlikely to lose data due to forgetting about some corner case.