Results 1 to 2 of 2

Thread: How Many Threads

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2002
    Location
    Durham, NC, US
    Posts
    218

    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)

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    I've read something in a maths book about this

    I'll check it out

    it's some queue theory

    i'll look for it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width