Enhanced staged event-driven architecture
Abstract
The present invention is an enhanced staged event-driven architecture (SEDA) stage. The enhanced SEDA stage can include an event queue configured to enqueue a plurality of events, an event handler programmed to process events in the event queue, and a thread pool coupled to the event handler. A resource manager further can be coupled to the thread pool and the event queue. Moreover, the resource manager can be programmed to allocate additional threads to the thread pool where a number of events enqueued in the event queue exceeds a threshold value and where all threads in the thread pool are busy.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 3.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for managing a thread pool in a staged event-driven architecture (SEDA) stage of a computer system, the method comprising the steps of: monitoring both a number of events in a coupled event queue, and a level of busyness of threads in a coupled thread pool; adding at least one additional thread to said coupled thread pool only when said number of events in said coupled event queue exceeds a threshold value, and when said level of busyness of said threads in said thread pool exceeds a threshold value; and wherein the SEDA stage further comprises a callable stage in which a maximum and
- Claim 2Depends on #1
The method of claim 1 , wherein said adding step comprises the step of adding at least one additional thread to said coupled thread pool only when said number of events in said coupled event queue exceeds a thre
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Class ThreadPool, pa-os.sourceforge.net/docs/uml/fipaos/util/ThreadPool.html>, (Nov. 2002).
- Control of Dynamic Threads Pool for Concurrent Remote Procedure Calls, IBM Technical Disclosure Bulletin, vol. 38, No. 5, pp. 199-200, (May 1995).
- High Performance Server Architecture, pl.atyp.us/content/tech/servers/html>, pp. 1-6, (Nov. 2002).
- M. Welsh, et al., SEDA: An Architecture for Well-Conditioned, Scalable Internet Services, <http://216.239.39.100/search?q=cache:AG8PEd5WZGEC:www.cs.ucsd.edu/sosp01/papers/welsh.pdf+SEDA:+An+Architecture+for +Well-Conditioned,+Scalable+Internet+Services&hl=en&ie=UTF-8>.
- M. Welsh, SEDA: An Architecture for Highly Concurrent Server Applications, SEDA, pp. 1-5, <http://www.cs.berkeley.edu/~mdw/proj/seda/, (Mar. 2003).