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

Hide
Christophe DENEUX added a comment - Tue, 17 Apr 2012 - 12:23:58 +0200

Fixed in trunk

Show
Christophe DENEUX added a comment - Tue, 17 Apr 2012 - 12:23:58 +0200 Fixed in trunk

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