You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Guangya Liu (JIRA)" <ji...@apache.org> on 2016/09/07 01:35:20 UTC

[jira] [Created] (MESOS-6131) Improved performance for resource flatten

Guangya Liu created MESOS-6131:
----------------------------------

             Summary: Improved performance for resource flatten
                 Key: MESOS-6131
                 URL: https://issues.apache.org/jira/browse/MESOS-6131
             Project: Mesos
          Issue Type: Bug
            Reporter: Guangya Liu
            Assignee: Guangya Liu


The {{Resources::flatten}} is using {{+=}} to add single resource object, but this will impact the performance much as {{+=}} will invoke resource validation, here we should validate the role first and then call {{add}} directly to avoid resource validation. 



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