[ 
https://issues.apache.org/jira/browse/MESOS-2883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kapil Arya updated MESOS-2883:
------------------------------
    Story Points: 2  (was: 5)

> Do not call hook manager if no hooks installed
> ----------------------------------------------
>
>                 Key: MESOS-2883
>                 URL: https://issues.apache.org/jira/browse/MESOS-2883
>             Project: Mesos
>          Issue Type: Improvement
>          Components: modules
>            Reporter: Kapil Arya
>            Assignee: Kapil Arya
>
> Hooks modules allow us to provide decorators during various aspects of a task 
> lifecycle such as label decorator, environment decorator, etc.  Often the 
> call into such a decorator hooks results in a new copy of labels, 
> environment, etc., being returned to the call site. This is an unnecessary 
> overhead if there are no hooks installed.
> The proper way would be to call decorators via the hook manager only if there 
> are some hooks installed. This would prevent unnecessary copying overhead if 
> no hooks are available.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to