| Dart Home | PowerTCP Sockets for .NET | Custom Development | Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
| Author | Forum: PowerTCP Sockets for .NET (Secure and Standard) Topic: Handling large number of connections |
| dboris From: Blackwood, NJ USA Posts: 7 Member Since: 09/10/03 |
posted March 27, 2008 2:29 PM I am trying to determine what is the best way to implement a server application that can handle a large number of simultaneous connections. The current version of my server uses Sockets for .NET asynchronously. We now have around 60 devices connecting to the service each sending small packets of data a couple times a minute and we are starting to run into performance problems. I have tried increasing the maximum size of the thread pool and this does help the performance, but as the number of connections continues to grow I am wondering if this is the best solution? Dan |
| Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted March 27, 2008 5:31 PM Hi Dan, Which version of PowerTCP Sockets for .NET are you using? We have added a new MaxThreads property in version 1.0.4.0. This property Gets or Sets the maximum number of threads the server is to use. The default value of this property is 25. If your server will be handling more connections, this value should be set to the maximum number of connections the server is expected to handle at one time. Best Regards, Amit ------ |
| Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|