Petals ESB Container

Reduce the number of threads needed by the autoloader

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 4.0.0
  • Fix Version/s: 4.1.0
  • Component/s: Autoloader
  • Security Level: Public
  • Description:
    Hide

    The autoloader uses one Timer by directory to scan. So it uses one thread by directory to scan.

    The most of time, the autoloader does nothing. So only one Timer for all directories to scan is sufficient, and some resources will be saved.

    Note, in the same time, please define a dedicated name to the thread associated to the timer, so the thread dump will be more readable.

    Show
    The autoloader uses one Timer by directory to scan. So it uses one thread by directory to scan. The most of time, the autoloader does nothing. So only one Timer for all directories to scan is sufficient, and some resources will be saved. Note, in the same time, please define a dedicated name to the thread associated to the timer, so the thread dump will be more readable.
  • Environment:
    -

Activity

Christophe DENEUX made changes - Tue, 17 Apr 2012 - 12:13:05 +0200
Field Original Value New Value
Fix Version/s 3.3.0 [ 10334 ]
Priority Minor [ 4 ]
Christophe DENEUX made changes - Tue, 17 Apr 2012 - 12:13:31 +0200
Status New [ 10000 ] Open [ 10002 ]
Christophe DENEUX made changes - Tue, 17 Apr 2012 - 12:13:35 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Christophe DENEUX made changes - Tue, 17 Apr 2012 - 12:23:58 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Resolution Fixed [ 1 ]
Christophe DENEUX made changes - Tue, 17 Apr 2012 - 12:33:10 +0200
Description The autoloader uses one {{Timer}} by directory to scan. So it uses one *thread* by directory to scan.

The most of time, the autoloader does nothing. So only one {{Timer}} for all directories to scan is sufficient, and some resources will be saved.

Note, in the same time, please define a dedicated name to the thread associated to the timer.
The autoloader uses one {{Timer}} by directory to scan. So it uses one *thread* by directory to scan.

The most of time, the autoloader does nothing. So only one {{Timer}} for all directories to scan is sufficient, and some resources will be saved.

Note, in the same time, please define a dedicated name to the thread associated to the timer, so the thread dump will be more readable.
Component/s Installation/Deployment [ 10041 ]
Christophe DENEUX made changes - Wed, 27 Feb 2013 - 11:21:16 +0100
Component/s Autoloader [ 10253 ]
Component/s Installation/Deployment [ 10041 ]

People

Dates

  • Created:
    Tue, 17 Apr 2012 - 12:12:30 +0200
    Updated:
    Wed, 27 Feb 2013 - 11:21:16 +0100
    Resolved:
    Tue, 17 Apr 2012 - 12:23:58 +0200