Petals ESB Container

Reduce the acceptor core size of NIO transporter when no request incomes

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 5.0.0
  • Fix Version/s: 5.0.1
  • Component/s: Transporter
  • Security Level: Public
  • Description:
    Hide

    With Java 6, the new method ThreadPoolExecutor.allowCoreThreadTimeOut(boolean) was introduced to reduce the core size when no task must be processed after a given keep alive time.
    Please use this method at NIO transporter level to reduce the number of incoming message acceptors (see org.ow2.petals.microkernel.transport.platform.nio.server.NioServerAgent).

    Show
    With Java 6, the new method ThreadPoolExecutor.allowCoreThreadTimeOut(boolean) was introduced to reduce the core size when no task must be processed after a given keep alive time. Please use this method at NIO transporter level to reduce the number of incoming message acceptors (see org.ow2.petals.microkernel.transport.platform.nio.server.NioServerAgent).
  • Environment:
    -

Issue Links

People

Dates

  • Created:
    Tue, 1 Dec 2015 - 09:35:29 +0100
    Updated:
    Tue, 1 Dec 2015 - 14:49:02 +0100
    Resolved:
    Tue, 1 Dec 2015 - 14:49:02 +0100