Patent ID: 8387059

Claim:
A computer-implemented method for controlling throughput of a high-volume throughput-centric computer system, comprising: dynamically adjusting a concurrency level of a plurality of events being processed in a computer system to meet a predetermined target for utilization of one or more resources of a computer system, said predetermined target being less than 100% utilization of said one or more resources; validating said adjusted concurrency level using one or more queuing models that approximate real situation for analyzing queuing behavior of the events at the adjusted concurrency level to check that said predetermined target is being met; configuring parameters used for adjusting the concurrency level, said parameters configured so that said one or more resources are shared with one or more programs; measuring performance of said computer system using a statistical algorithm that minimizes total number of samples collected, said measured performance used to further dynamically adjust the concurrency level, the statistical algorithm formulated as an optimization model; and revising a number of events processed by a thread and sleep time for the thread to enhance said dynamically adjusting step; wherein the step of dynamically adjusting includes: adding a selected number of threads used to process the plurality of events; comparing throughput of the computer system before and after the selected number of threads added; if the throughput increases after adding the selected number of threads, repeating the steps of adding and comparing; and if the throughput decreases or if the throughput increases by less than a selected margin, removing one or more threads until the throughput becomes a predetermined fraction of a maximum throughput measured during the comparing step.