|The stupid question is the question not asked|
Testing methodologyby BrowserUk (Pope)
|on Mar 04, 2012 at 11:53 UTC||Need Help??|
I frequently suggest Thread::Queue for pooled thread applications, but in addition to some non-queue-like behavioural cruft, that module has no way of auto-limiting the size of the queue. That means it is all too easy to populate the queue at a rate far in excess of the pool's abilities to process those entries. And that can lead to excessive memory consumption.
Here is an implementation of a shared queue to address that deficiency:
Criticisms and comments on the implementation are welcome, but what I'd really like is for people to post what tests they would implement for this module, and how they would implement them.
It's a big ask I know, and there is a not-so-hidden agenda. Anyone prepared to step up?
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.