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

Improve master metrics/snapshot performace

    XMLWordPrintableJSON

Details

    • Task
    • Status: Reviewable
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      drobinson noticed retrieving metrics/snapshot statistics could be very inefficient.

      [user@server ~]$ time curl -s localhost:5050/metrics/snapshot
      
      real	0m35.654s
      user	0m0.019s
      sys	0m0.011s
      

      MESOS-1287 introduces a timeout parameter for this query, but for metric-collectors like ours they are not aware of such URL-specific parameter, so we need:

      1) We should always have a timeout and set some default value to it

      2) Investigate why master metrics/snapshot could take such a long time to complete under load.

      Attachments

        Issue Links

          Activity

            People

              wangcong Cong Wang
              wangcong Cong Wang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: