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

Add an option to make the worker queue blocing to not sature memory

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6.0-HF17, 5.7-SNAPSHOT
    • Fix Version/s: 5.7.1
    • Component/s: Core VCS

      Description

      The WorkManager has a queue of scheduled jobs, when the throughput of incoming job is greater than the throughput of job that can be processed by the pool of workers, the memory footprint of this queue keeps growing and saturates the heap.

      For instance this is the case for the fulltext workers.

      For simple case it worth having an option to make the queue blocking.

      In a cluster mode the best is to have a new worker manager using redis to persist and distributes jobs.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: