×

Dynamic thread pool management

  • US 8,381,216 B2
  • Filed: 03/05/2010
  • Issued: 02/19/2013
  • Est. Priority Date: 03/05/2010
  • Status: Active Grant
First Claim
Patent Images

1. A system for dynamically managing a thread pool associated with a plurality of sub-applications, said system comprising:

  • a memory area for storing configuration information of an application having a plurality of sub-applications associated therewith, said configuration information including a predefined maximum thread threshold associated with one or more of the plurality of sub-applications, said configuration information further including a predefined maximum latency threshold associated with one or more of the plurality of sub-applications, said application and said plurality of sub-applications being associated with one thread pool; and

    a processor programmed to;

    receive the configuration information of said application and said plurality of sub-applications upon a start-up of said application;

    receive a request for at least one of the sub-applications;

    determine a quantity of threads currently assigned to said at least one of the sub-applications;

    compare the determined quantity of threads with the predefined maximum thread threshold stored in the memory area to generate a first comparison result;

    determine a latency of said at least one of the sub-applications;

    compare the determined latency with said predefined maximum latency threshold stored in said memory area to generate a second comparison result;

    assign a thread in said one thread pool to handle the received request based on said first comparison result and said second comparison result; and

    reduce the predefined maximum latency threshold stored in said memory area to a quantity of one if the determined latency is greater than the predefined maximum latency threshold.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×