Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3808

Improve Rest API performance

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.1.0, 6.1.1, 6.1.2, 6.1.3
    • Fix Version/s: Icebox
    • Component/s: REST-API
    • Labels:
    • Environment:
      Multiple maxscale nodes connecting to multiple mariadb 10.5.x nodes

      Description

      We have the following application and database topology. On each maxscale node we deploy https://github.com/Vetal1977/maxctrl_exporter to scrape the rest api and turn its output into prometheus stats every 30 seconds. Under periods of high connection load to our maxscale instances, we find that the maxctrl_exporter is unable to scrape the rest api in a timely fashion. Attached is a screenshot showing dropped/missing stats for an example period.

      Would it be possible to add an admin thread that can be used to scrape the rest api and be guaranteed to return more timely?

       
      [app1] [app2] [app3] [app4]
        |       |     |      |
        +-------+-----+------+
                   |
      [DNS record proxy.mariadb.example.com]
                 |       |
              [max1]-[max2]
                |   X   |
                [db1] [db2]
      

        Attachments

          Activity

            People

            Assignee:
            toddstoffel Todd Stoffel
            Reporter:
            SneakyPhil Phil Porada
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration