×

System and method for application server with self-tuned threading model

  • US 7,657,892 B2
  • Filed: 05/19/2005
  • Issued: 02/02/2010
  • Est. Priority Date: 05/20/2004
  • Status: Active Grant
First Claim
Patent Images

1. A system for self-tuned threading model in an application server, comprising:

  • a server, including one or more processors, which receives requests from clients or other servers for execution by service classes at the server;

    a plurality of threads operating at the server for use in processing the requests;

    a priority queue operating at the server for storing the requests until the requests can be processed by the threads;

    a configuration file, which defines a plurality of service classes executing at the server to which each of the requests can be directed, wherein the configuration file includes numeric share values associated with the plurality of service classes, including a share value for each service class, and wherein each of the share values represents a proportional entitlement to thread usage for its associated service class as compared to other service classes having other share values;

    a software process that operates on the server and maintains the priority queue for allocating threads to requests, according to the service class to which the requests are directed and the proportional entitlement priority to thread usage for each service class, includingdetermining that service class to which a received request is directed,determining the share value associated with that service class, andplacing that request in the priority queue in proportion to the share value for each request'"'"'s service class, so that the threads are provided with requests for each service class in a ratio matching those service classes proportional entitlement; and

    wherein one or more numeric share values associated with the plurality of service classes and defined in the configuration file can be modified, to reflect a different proportional entitlement, and wherein the software process automatically modifies the placement of subsequent received requests in the priority queue, to reflect the different proportional entitlement.

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