Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9577

Add websocket support to libprocess.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • libprocess
    • None

    Description

      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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            bmahler Benjamin Mahler
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: