Reduce memory consumption and improve startup behaviour of the job handler
--------------------------------------------------------------------------

                 Key: SLING-1002
                 URL: https://issues.apache.org/jira/browse/SLING-1002
             Project: Sling
          Issue Type: Improvement
          Components: Event
    Affects Versions: Extensions Event 2.0.4
            Reporter: Carsten Ziegeler


Currently the job handler holds all received jobs in memory until the job has 
been processed completly. In addition on startup all unprocessed jobs are 
loaded from the repository.
If for example thousands of jobs are unprocessed in the repository and a new 
instance is started (or restarted) all these events are first load into memory 
and then put into the queue.
It would be better to have a fixed max size for the in memory queue - and check 
the repository from time to time for unprocessed jobs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to