|
-
Nov 12th, 2002, 02:03 PM
#1
Thread Starter
Addicted Member
How Many Threads
I know I've seen the formulas that help you figure out how many registers a grocery store should have open, or how many analysts a call center should have, in order to service the number of requests you receive. I don't remember what they were called (Poisson?) or what they looked like.
We are trying to figure out the optimum number of threads our broker should have running to service the number of messages we get.
We get a request about every 2 seconds. Usually a request can be serviced in less than 4 seconds, leaving the thread ready to handle the next request. But on occasion (network latency, slow client processing) the response time may be 20 seconds.
Currently we have 5 threads, and know that is not enough. Just thinking in a linear fashion, we need 10 threads.
Anyone have any formulas, documents, or ideas than can help us fine tune that number?
Travis, Kung Foo Journeyman
Web Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.5 Guide and Reference
Perl: Documentation, Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
OSS: Mozilla, MySQL (Manual)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|