You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joseph Wu (JIRA)" <ji...@apache.org> on 2018/10/26 00:54:00 UTC

[jira] [Commented] (MESOS-9258) Consider making Mesos subscribers send heartbeats

    [ https://issues.apache.org/jira/browse/MESOS-9258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664480#comment-16664480 ] 

Joseph Wu commented on MESOS-9258:
----------------------------------

Still in progress, but a prototype is up for preliminary review starting here: https://reviews.apache.org/r/69180/

The idea is to let the {{master /api/v1 SUBSCRIBE}} call take a streaming request (optional) as well as a streaming response.  When the call is made via a streaming request, the same stream will be used to send heartbeats from client to master.

> Consider making Mesos subscribers send heartbeats
> -------------------------------------------------
>
>                 Key: MESOS-9258
>                 URL: https://issues.apache.org/jira/browse/MESOS-9258
>             Project: Mesos
>          Issue Type: Improvement
>          Components: HTTP API
>            Reporter: Gastón Kleiman
>            Assignee: Joseph Wu
>            Priority: Critical
>              Labels: mesosphere
>
> Some reverse proxies (e.g., ELB using an HTTP listener) won't close the upstream connection to Mesos when they detect that their client is disconnected.
> This can make Mesos leak subscribers, which generates unnecessary authorization requests and affects performance.
> We should evaluate methods (e.g., heartbeats) to enable Mesos to detect that a subscriber is gone, even if the TCP connection is still open.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)