Two-way Communication over HTTP

From NovaOrdis Knowledge Base
Revision as of 19:59, 25 April 2018 by Ovidiu (talk | contribs) (→‎Internal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

Browsers can receive simulated server-to-client invocations by opening multiple HTTP connections and using the following mechanisms:

  • XMLHttpRequest
  • <iframe>s and long polling

The problem with this approach is that the server is forced a number of underlying TCP connections for each client: one for sending information and a new one for each incoming message. The Wie protocol has a high overhead, each message has a HTTP header.

Obsoleted by WebSockets.