Petals SE Activiti

The async job executor should be tunnable

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.0
  • Fix Version/s: 1.0.1, 1.1.0
  • Component/s: Configuration
  • Security Level: Public
  • Description:
    Hide

    The Petals SE Activiti provides a parameter to enable or disable the async job executor, but we can't set the parameters of this async job executor.

    The following parameters are described in the Activiti engine documentation. Please reuse the same names and the same default values:

    Parameter name Default value Description
    corePoolSize 2 The minimal number of threads that are kept alive in the thread pool for job execution.
    maxPoolSize 10 The maximum number of threads that are kept alive in the thread pool for job execution.
    keepAliveTime 5000 The time (in milliseconds) a thread used for job execution must be kept alive before it is destroyed. Default setting is 0. Having a non-default setting of 0 takes resources, but in the case of many job executions it avoids creating new threads all the time.
    queueSize 100 The size of the queue on which jobs to be executed are placed.
    maxTimerJobsPerAcquisition 1 The number of timer jobs that are fetched from the database in one query.
    maxAsyncJobsDuePerAcquisition 1 The number of asynchronous jobs due that are fetched from the database in one query.
    defaultAsyncJobAcquireWaitTimeInMillis 10000 The time in milliseconds between asynchronous job due queries being executed.
    defaultTimerJobAcquireWaitTimeInMillis 10000 The time in milliseconds between timer job queries being executed.
    timerLockTimeInMillis 300000 The time in milliseconds that a timer job is locked before being retried again. The Activiti Engine considers the timer job to have failed after this period of time and will retry.
    asyncJobLockTimeInMillis 300000 The time in milliseconds that an asynchronous job is locked before being retried again. The Activiti Engine considers the asynchronous job to have failed after this period of time and will retry.
    Show
    The Petals SE Activiti provides a parameter to enable or disable the async job executor, but we can't set the parameters of this async job executor. The following parameters are described in the Activiti engine documentation. Please reuse the same names and the same default values:
    Parameter name Default value Description
    corePoolSize 2 The minimal number of threads that are kept alive in the thread pool for job execution.
    maxPoolSize 10 The maximum number of threads that are kept alive in the thread pool for job execution.
    keepAliveTime 5000 The time (in milliseconds) a thread used for job execution must be kept alive before it is destroyed. Default setting is 0. Having a non-default setting of 0 takes resources, but in the case of many job executions it avoids creating new threads all the time.
    queueSize 100 The size of the queue on which jobs to be executed are placed.
    maxTimerJobsPerAcquisition 1 The number of timer jobs that are fetched from the database in one query.
    maxAsyncJobsDuePerAcquisition 1 The number of asynchronous jobs due that are fetched from the database in one query.
    defaultAsyncJobAcquireWaitTimeInMillis 10000 The time in milliseconds between asynchronous job due queries being executed.
    defaultTimerJobAcquireWaitTimeInMillis 10000 The time in milliseconds between timer job queries being executed.
    timerLockTimeInMillis 300000 The time in milliseconds that a timer job is locked before being retried again. The Activiti Engine considers the timer job to have failed after this period of time and will retry.
    asyncJobLockTimeInMillis 300000 The time in milliseconds that an asynchronous job is locked before being retried again. The Activiti Engine considers the asynchronous job to have failed after this period of time and will retry.
  • Environment:
    -

Issue Links

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
23h 24m
1
Christophe DENEUX
Fri, 11 Dec 2015 - 12:14:13 +0100
Open Open In Progress In Progress
13s
1
Christophe DENEUX
Fri, 11 Dec 2015 - 12:14:26 +0100
In Progress In Progress Resolved Resolved
22s
1
Christophe DENEUX
Fri, 11 Dec 2015 - 12:14:48 +0100
Resolved Resolved Open Open
412d 4h 24m
1
Christophe DENEUX
Thu, 26 Jan 2017 - 16:38:54 +0100
Open Open In Progress In Progress
3s
1
Christophe DENEUX
Thu, 26 Jan 2017 - 16:38:57 +0100
In Progress In Progress Resolved Resolved
48s
1
Christophe DENEUX
Thu, 26 Jan 2017 - 16:39:45 +0100
Resolved Resolved Open Open
1m 20s
1
Christophe DENEUX
Thu, 26 Jan 2017 - 16:41:05 +0100
Open Open In Progress In Progress
3d 18h 42m
1
Christophe DENEUX
Mon, 30 Jan 2017 - 11:23:09 +0100
In Progress In Progress Resolved Resolved
9m 50s
1
Christophe DENEUX
Mon, 30 Jan 2017 - 11:32:59 +0100

People

Dates

  • Created:
    Thu, 10 Dec 2015 - 12:49:52 +0100
    Updated:
    Mon, 30 Jan 2017 - 11:32:59 +0100
    Resolved:
    Mon, 30 Jan 2017 - 11:32:59 +0100