You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Niklas Quarfot Nielsen (JIRA)" <ji...@apache.org> on 2015/05/15 23:05:02 UTC
[jira] [Commented] (MESOS-2735) Change the interaction between the
slave and the resource estimator from polling to pushing
[ https://issues.apache.org/jira/browse/MESOS-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14546167#comment-14546167 ]
Niklas Quarfot Nielsen commented on MESOS-2735:
-----------------------------------------------
Can you capture some of the recent discussions here? I wanted to understand how providing a callback to update the most recent value was different from having a callback hanging off the future on the estimator::update()
> Change the interaction between the slave and the resource estimator from polling to pushing
> --------------------------------------------------------------------------------------------
>
> Key: MESOS-2735
> URL: https://issues.apache.org/jira/browse/MESOS-2735
> Project: Mesos
> Issue Type: Bug
> Reporter: Jie Yu
> Assignee: Jie Yu
> Labels: twitter
>
> This will make the semantics more clear. The resource estimator can control the speed of sending resources estimation to the slave.
> To avoid cyclic dependency, slave will register a callback with the resource estimator and the resource estimator will simply invoke that callback when there's a new estimation ready. The callback will be a defer to the slave's main event queue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)