Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-4270

Metrics degrade cluster performance


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • RHDG 8.3.1 GA
    • RHDG 8.1 GA, RHDG 8.2 GA
    • None
    • None

      The `/metrics` endpoint exposes Infinispan stats so that they can be periodically scraped by monitoring tools such as Prometheus. However, these stats include calls to `size` which does not perform well as the number of entries in a cache increase. Consequently, if deploying DG in a k8 environment with Prometheus monitoring the DG cluster performance rapidly declines as the number of entries in a cache increases due to time /resources spent iterating the cache container.

      This problem is only exasperated when muiltiple caches exist with many entries exist.

            dberinde@redhat.com Dan Berindei (Inactive)
            remerson@redhat.com Ryan Emerson
            0 Vote for this issue
            7 Start watching this issue