Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Max Concurrent Sockets (.net jabberd)
aktweb
aktweb@hotmail.com

From: austin, TX USA
Posts: 1
Member Since: 04/19/03
posted April 19, 2003 7:34 PM

I am working on an server implementation of the Jabber messaging protocol. As you probably know, this protocol is designed for instant messaging style applications, and supports stuff like presence and buddies and of course, messaging :)

To do this, I need to maintain sockets connections from lots of jabber clients. These TCP sockets, and are persistent. When a message comes in, I need to squirt it out to the proper client via the socket connection that client originally opened.

My question is, what type of equation should I use to determine how many sockets I can terminate and maintain on a single server.

I have tried the System.Net classes, and can only terminate somewhere around 1K sockets. It just stops working. Memory is fine. There is really no traffic on the sockets. CPU is fine.

I am hoping the dart classes could help here...

-- Thanks, Andrew
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 21, 2003 4:11 PM

Hi Andrew,
I'm sorry; I am not aware of any formula that can be used. This is really something that you should test beforehand. 
Sorry I could not provide a more concrete answer,
-ken
cambler

From: Redmond, WA USA
Posts: 102
Member Since: 04/14/03
posted April 21, 2003 6:05 PM

Look at the link to the sample code that I just posted in the "control array" thread. You'll find some sample code there, as well, that will help you determine how many sockets (either server, client or both) a system can handle.

Christopher
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX