Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-26030

2023.R3.1 Point Release Signal -> SM Task Performance Issue

    Details

    • Type: Story
    • Status: In Product Review (View Workflow)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2023.R4 Signal Sprint 4
    • SCRUM Team:
      Globogym Purple Cobras
    • Story Points:
      3
    • Work Type Classification:
      Sustaining

      Description

      Story

      As an admin, I would like to have the signal store sm task running time reduced. 

       

      Description 

      The sm task runs in SBX environment more than 84 min (it was still running)

      This can not be released to production unless the running time reduced to a reasonable number (5 min max) 

       

      ~\CFA.Inform\MX.Services\Signal\SignalStoreUpdateService.vb

      I think the most time is taking when calling delete/insert functions in the above file 

      We should populate an object in the memory to keep the list of the stores in the zone once. 

       

      #1

      the delete shall be called only for the ones to be deleted

      Dim recordsChanged As Integer = EntityZoneService.DeleteEntityZone(entityId, zone.ZoneId, Nothing, "Server Manager Task")

       

      #2

      the insert shall be called only for the ones to be inserted

      Dim recordsChanged As Integer = EntityZoneService.Insert(entityId, zone.ZoneId, "Server Manager Task")

       

      #3

      call the below line only once

      Dim entity As Entity = EntityService.GetEntityByEntityID(entityId)

       

      We should look further to find if there are any other areas to improve performance

       

      AC

      Confirm that the SM task still runs successfully 

      Confirm that the SM task on SBX runs less than 5 min

        Attachments

        1. image-2023-06-21-18-25-02-786.png
          142 kB
          Caner Saritac
        2. image-2023-06-22-09-00-00-835.png
          139 kB
          Caner Saritac

          Issue Links

            Activity

              People

              • Assignee:
                caner.saritac Caner Saritac
                Reporter:
                caner.saritac Caner Saritac
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m Time Not Required
                  10m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.