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

Preview adapter should process rendition on worker nodes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.1, 2021.42
    • Component/s: Preview
    • Release Notes Summary:
      Preview are now more scalable
    • Release Notes Description:
      Hide

      The preview adapter is now processed by worker nodes within a managed thread pools instead of being done on front nodes, the preview is cached and shared between all front nodes.
      This feature is activated by default on LTS 2023.
      On LTS 2021 it can be activated by setting nuxeo.preview.legacy.enabled=false in the nuxeo.conf file.
      The number of threads per worker nodes executing PreviewWork can be tuned with nuxeo.work.queue.renditionBuilder.threads=2, default being 2 threads per node, with a max concurrency of 6.

      Show
      The preview adapter is now processed by worker nodes within a managed thread pools instead of being done on front nodes, the preview is cached and shared between all front nodes. This feature is activated by default on LTS 2023. On LTS 2021 it can be activated by setting nuxeo.preview.legacy.enabled=false in the nuxeo.conf file. The number of threads per worker nodes executing PreviewWork can be tuned with nuxeo.work.queue.renditionBuilder.threads=2, default being 2 threads per node, with a max concurrency of 6.
    • Tags:
    • Sprint:
      nxplatform #92, nxplatform #93
    • Story Points:
      5

      Description

      The NXP-31855 enables to process rendition request like /@rendition/pdf or /@rendition/thumbnail in a worker node.

      We want the same behavior for the preview adapter (PreviewAdapter) to avoid preview processing on front nodes and use controlled resources (i.e. processed in a dedicated threads pool on worker nodes).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: