Programmatic response-time based workload distribution techniques
Abstract
Workload is programmatically distributed across a set of execution resources. In a multithreaded server environment, response time to end users is improved while increasing the efficiency of software execution and resource usage. Execution time and wait/queued time are tracked, for various types of requests being serviced by a server. Multiple logical pools of threads are used to service these requests, and inbound requests are directed to a selected one of these pools such that requests of similar execution-time requirements are serviced by the threads in that pool. The number and size of thread pools may be adjusted programmatically, and the distribution calculation (i.e., determining which inbound requests should be assigned to which pools) is a programmatic determination. In preferred embodiments, only one of these variables is adjusted at a time, and the results are monitored to determine whether the effect was positive or negative. The disclosed techniques also apply to tracking and classifying requests by method name (and, optionally, parameters).
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 44.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of programmatically distributing workload across thread pools of a multithreaded server, comprising: determining a number of available thread pools at the server; obtaining execution times from historical statistics of a workload on the server; programmatically distributing the obtained execution times over the number of available thread pools, further comprising: sorting the obtained execution times; determining a count of the execution times; dividing the count of execution times by the number of available thread pools to find a value, “N”; and assigning an uppe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 44 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- Calcote, John, Thread Pools and Server Performance, Dr. Dobb's Journal, Jul. 1997.
- Jen-Yao Chung, et al. "Goal-oriented dynamic buffer pool management for data base systems", IEEE, Aug. 1995 191-198.
- Ling, Yibei et al., Analysis of Optimal Thread Pool Size, Feb. 14, 2000, Publisher: ACM Press.
- Pyarali, Irfan et al., Evaluating and Optimizing Thread Pool Strategies for Real-Time CORBA, 2002.
- Welsh, Matt et al., SEDA: An Architecture for Well-Conditioned Scalable Internet Services, 2001, Publisher: ACM.