On the basis of the statistics received from the observed workload of the server in a multiple server threads, thread pool is programmatically adjusted. In a multi-threaded server environment, and it improves the response time for the end user, the efficiency of using resources and the software execution is increased. With respect to the various types of requests serviced by the server, the execution time and the air / queue wait time is tracked. Using the logic multi-thread pool, and so is service to such a request, the request is received towards the pool of these pools is selected, the request having a similar run time requirements are serviced by a thread of the pool. The number and size of the thread pool can be adjusted programmatically, distribution calculation (that is, to determine that the received request should be assigned to either the pool) is to determine programmatically. In a preferred embodiment, only one of these variables being adjusted at a time, monitor the results, and determines whether the positive effect that the negative. The disclosed technique is applicable to track and classify the request as a method name (and optionally the parameter). ; Dynamic adjustment, thread pool, the request type, workload, multi-threaded server
展开▼