[ 
https://issues.apache.org/jira/browse/MESOS-9140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16572432#comment-16572432
 ] 

Benjamin Mahler commented on MESOS-9140:
----------------------------------------

Attached a screenshot from perf data shared by [~StephanErb].

> 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
>            Priority: Major
>              Labels: performance
>         Attachments: Screen Shot 2018-08-07 at 3.16.00 PM.png
>
>
> 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)

Reply via email to