By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,701 Members | 1,711 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,701 IT Pros & Developers. It's quick & easy.

Handling MANY threads (100s!) - what is the best strategy?

P: n/a
Hi all,
I have an application which needs to manage the status on a server with 96
phone line ports. Each port is an indepedent process and reports status
codes independently.

Currently I have 1 thread per port monitoring the status... this is fine
for low volumes (i.e. when I only have 20 - 40 ports enabled) but once I
enable all 96, it seems that some messages are being backlogged. I *think*
it is a threading issue. Is there a practical limit to how many threads I
can run on a processor?

What is the best strategy to handle such a large number of independent
processes? Do I just need to upgrade my server hardware so I can run more
threads more quickly?

Thanks.

--
Lucas Tam (RE********@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.