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

Process sparse fieldsets while generating REST-API response

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 25.10.0
    • REST-API
    • None
    • MXS-SPRINT-231, MXS-SPRINT-232, MXS-SPRINT-233

    Description

      The REST-API currently generates the full response and then processes the sparse fieldset conditions which return a subset of the fields of the JSON object. This is a simple approach but it's wasteful if only a small part of the result is needed. By pushing down the expressions that define which fields should be returned, only the needed parts are generated. This makes things like maxctrl list servers a lot more efficient if the statistics data that is spread across multiple threads isn't needed.

      When combined with MXS-5220, this makes it possible to generate more efficient monitoring of MaxScales with MaxCtrl.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.