Benjamin Mahler created MESOS-9577:
--------------------------------------
Summary: Add websocket support to libprocess.
Key: MESOS-9577
URL: https://issues.apache.org/jira/browse/MESOS-9577
Project: Mesos
Issue Type: Improvement
Components: libprocess
Reporter: Benjamin Mahler
Websockets can provide an efficiency improvement over http in bi-directional
streaming use cases. It's also helpful in cases where the client is incapable
of using streaming requests. For example, browsers seem to not support
streaming requests.
One use case is building a "terminal" into the container from the browser. In
this case, the browser has to resort to de-bouncing the keystrokes and sending
them as separate ATTACH_CONTAINER_INPUT requests. Which leads to increased
latency (have to wait for response of previous request before making a new
request), as well as increased request load for mesos and proxies.
The integration could be done against the existing libprocess http server
through a "sans-IO" library like: https://github.com/tatsuhiro-t/wslay
Alternatively, adoption of a library like h2o would provide this (see
MESOS-8633).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)