Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7013

CoverageWatcher.js performance improvements

    XMLWordPrintable

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: SUIT
    • Labels:
    • Story Points:
      16
    • Team:
      Science User Interface

      Description

      Currently, whenever new (or filtered) catalog table is received, we send a request to the server to obtain central and/or corner points for each catalog row. (Search for doFetchTable call in CatalogWatcher.js) These points are then used to compute central point and maximum radius to get the coverage image. (See CatalogWatcher:computeSize.)

      For doFetchTable request, we a get a few columns of the WHOLE table, which considerably slows the system when catalog table is huge.

      A big improvement would be replacing doFetchTable call with a server call, which takes catalog table request and calculates central point and radius on the server.

      Further optimization – if needed in future – could be adding central point and radius into table meta in prepareTableMeta of the search processor when we know it (cone search) or it is easy to calculate (polygon search).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xiuqin Xiuqin Wu [X] (Inactive)
              Reporter:
              tatianag Tatiana Goldina
              Watchers:
              Tatiana Goldina, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Jenkins

                  No builds found.