Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-9140

Improve performance of /containers and /monitor/statistics container usage endpoints.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      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.

      Attachments

        1. Screen Shot 2018-08-07 at 3.16.00 PM.png
          539 kB
          Benjamin Mahler
        2. mesos-agent1.6.1-groups-patch-2.stacks.gz
          542 kB
          Benjamin Mahler

        Activity

          People

            Unassigned Unassigned
            bmahler Benjamin Mahler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: