Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scalable multi threading

Status
Not open for further replies.

Guern

Programmer
Jun 22, 2001
91
GB
Hi,

I've created a multi threaded tcp/ip app. It works just fine, but it's not scalable. At the moment I have a single master thread that listens for incoming connections and spawns off another thread to handle that connection. The problem is this really starts to grid a bit at 100 connections+. It consumes a lot of memory as well.

I want to be able to handle about 250 connections+ comfortably. Other apps are easily able to do this on much less hardware with less resources.

Is there another threading model I could use / change the software to in order to achive this in vb.net? Perhaps this sort of app is not achievable in vb.net?

Thanks.

Paul Smith
Microtech Limited
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top