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
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