You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2018/08/07 22:22:00 UTC

[jira] [Created] (MESOS-9140) Improve performance of /containers and /monitor/statistics container usage endpoints.

Benjamin Mahler created MESOS-9140:
--------------------------------------

             Summary: Improve performance of /containers and /monitor/statistics container usage endpoints.
                 Key: MESOS-9140
                 URL: https://issues.apache.org/jira/browse/MESOS-9140
             Project: Mesos
          Issue Type: Improvement
            Reporter: Benjamin Mahler


After fixing MESOS-8418, there are still low hanging performance improvements that can be done to both the /containers and /monitor/statistics container usage metrics endpoints.

* There is a lot of copying of {{ResourceUsage}} protobufs, the primary cost being copying the embedded executors and tasks in the protobuf. See the attached flamegraph.
* Adoption of jsonify instead of constructing JSON objects will improve performance.

There are a variety of less trivial improvements as well.



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