Adaptive consumer thread pool
Abstract
The present disclosure provides for a system with an adaptive thread pool for processing messages. The system includes a processor and a memory storing instructions. The processor allocates a first quantity of threads in a thread pool to process a set of messages in parallel. The processor then measures one or more performance metrics of the system while processing the messages with the first quantity of threads. The processor then determines whether each of the one or more performance metrics meets a respective predetermined threshold. The processor then increases the allocation of the first quantity of threads to a second quantity of threads in the thread pool if each of the one or more performance metrics meets the respective predetermined threshold. The processor may also decrease the quantity of threads if at least one performance metric does not meet its predetermined threshold.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system comprising: a processor; and a memory storing instructions, which when executed by the processor, cause the processor to: allocate a first quantity of threads in a thread pool to process a first plurality of messages in parallel; measure one or more performance metrics of the entire system as a whole while processing in parallel the first plurality of messages with the first quantity of threads; determine whether each of the one or more performance metrics of the entire system as a whole meets a respective predetermined system-wide threshold; and increase the allocation of the first q
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (7)
Non-Patent Literature (2)
- “Better Performance Through Threading”; @AndroidDev on Twitter; Accessed Date: Oct. 1, 2019; https://developer.android.com/topic/performance/threads; 7 Pages.
- WSO2; “WSO2 Message Broker”; Version 3.2.0; WSO2 Inc. Copyright © 2019; Accessed Date: Oct. 1, 2019; https://wso2.com/products/message-broker/; 5 Pages.