Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32318

Provide an example of bulk action with dedicated background processing

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.9, 2021.51
    • Component/s: Bulk
    • Release Notes Summary:
      recomputeViews processing can be split in two streams: user ongoing and background activities.
    • Upgrade notes:
      Hide

      To create a background stream and processing for the recomputeViews bulk action, just activate:

      nuxeo.bulk.action.recomputeViewsBackground.enabled=true
      

      All recompute views submitted by the management API or automation operation will be done on the background processor (recomputeViewsBackground).
      All recompute views triggered by document update (user activity) will be done on the main processor (recomputeViews).

      Show
      To create a background stream and processing for the recomputeViews bulk action, just activate: nuxeo.bulk.action.recomputeViewsBackground.enabled= true All recompute views submitted by the management API or automation operation will be done on the background processor (recomputeViewsBackground). All recompute views triggered by document update (user activity) will be done on the main processor (recomputeViews).
    • Sprint:
      nxplatform #107, nxplatform #108
    • Story Points:
      5

      Description

      Today the same Bulk Action can be used for various kind of load, which can result in traffic congestion.

      For instance, a massive administrative task is going to impact user activities that relies on the same Bulk Action,
      users will notice that their processing is heavily delayed.

      We would like to redirect management and heavy operation to a dedicated background processing to prevent traffic congestion during ongoing activity.

      The bulk/recomputeViews action could be taken as example.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: