[ https://issues.apache.org/jira/browse/MESOS-5681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yanyan Hu updated MESOS-5681: ----------------------------- Description: Followup JIRA for MESOS-5425. Currently, resource object exposes the protobuf to store data internally. But its implementation is low-efficient for math calculation, especially for the case of Ranges subtraction. An interim solution proposed https://reviews.apache.org/r/48593/ is converting Ranges to IntervalSet inline to optimize the performance. In long-term, we should consider C++ library based resource object as a permanent solution. (was: Followup JIRA for MESOS-5425. Currently, resource object exposes the protobuf to store data internally. But its implementation is low-efficient for math calculation, especially for the case of Ranges subtraction. An interim solution proposed is converting Ranges to IntervalSet inline to optimize the performance. In long-term, we should consider C++ library based resource object as a permanent solution.) > c++ based resource and resources object > --------------------------------------- > > Key: MESOS-5681 > URL: https://issues.apache.org/jira/browse/MESOS-5681 > Project: Mesos > Issue Type: Improvement > Components: allocation > Reporter: Yanyan Hu > Labels: performance > > Followup JIRA for MESOS-5425. Currently, resource object exposes the protobuf > to store data internally. But its implementation is low-efficient for math > calculation, especially for the case of Ranges subtraction. An interim > solution proposed https://reviews.apache.org/r/48593/ is converting Ranges to > IntervalSet inline to optimize the performance. In long-term, we should > consider C++ library based resource object as a permanent solution. -- This message was sent by Atlassian JIRA (v6.3.4#6332)