Uploaded image for project: 'Hawkular Metrics'
  1. Hawkular Metrics
  2. HWKMETRICS-565

Request to get all metric definitions takes 10 minutes when having 250k metrics definitions

    Details

    • Type: Bug
    • Status: Pull Request Sent (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.21.5
    • Fix Version/s: Future
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Steps to Reproduce:
      Hide

      1 - create 250k gauges definitions for one tenant
      2 - get them via e.g. curl -H "Authorization:Basic amRvZTpwYXNzd29yZA==" -H "Content-Type: application/json" -H "Hawkular-Tenant:perf-test" http://perf-soak-haw2.bc.jonqe.lab.eng.bos.redhat.com:8080/hawkular/metrics/gauges

      Show
      1 - create 250k gauges definitions for one tenant 2 - get them via e.g. curl -H "Authorization:Basic amRvZTpwYXNzd29yZA==" -H "Content-Type: application/json" -H "Hawkular-Tenant:perf-test" http://perf-soak-haw2.bc.jonqe.lab.eng.bos.redhat.com:8080/hawkular/metrics/gauges

      Description

      Anytime there is lot of metric definitions (e.g. 250k) a request to get them is taking 10 minutes and is overloading cassandra node which is becoming unresponsive for other request.

      There should be some default paging to prevent similar requests to overload cassandra.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  john.sanda John Sanda
                  Reporter:
                  fbrychta Filip Brychta
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: