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

Improve Rest API performance

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 6.1.0, 6.1.1, 6.1.2, 6.1.3
    • 2.5.20, 6.2.3, 22.08.0
    • REST-API
    • 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

            markus makela markus makela
            SneakyPhil Phil Porada
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.