Thread: Testing maximum client connections

  1. #1
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195

    Testing maximum client connections

    I need to test the maximum theoretical and maximum feasable connections a server program can handle. Any suggestions on doing this?

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    keep connecting clients until performance degrades below desired threshold (as defined by "feasible"), then keep adding clients until the server crashes (theoretical) ?

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    well, I suppose I will need a couple more systems then, otherwise client load will interfere with server load.

  4. #4
    Banned
    Join Date
    Nov 2007
    Posts
    678
    also depends on what method is used for multiple client handling! a less efficient method will crash with small number of connections!

  5. #5
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Yeah, well my code is usually pretty efficient. I'm aiming at a minimum of 1024 connections per server.

  6. #6
    Banned
    Join Date
    Nov 2007
    Posts
    678
    What are you doing for multiple clients?

    - thread spawning?
    - OR thread pool?
    - select ?

    I also wonder what should we do, besides having powerful server, to handle millions of clients?

  7. #7
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    Generally large numbers of clients are handled by multiple servers. When a server reaches its limit for example, it can forward additional connections to a different server in the cluster or simply refuse the connection adn the lcient can pick the next server in a list.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Socket Programming Problem!!!!
    By bobthebullet990 in forum Networking/Device Communication
    Replies: 2
    Last Post: 02-21-2008, 07:36 PM
  2. Best programming practices for multiple connections
    By vasillalov in forum Networking/Device Communication
    Replies: 8
    Last Post: 10-09-2007, 10:14 PM
  3. WSAAsyncSelect Socket Model. She's Not Hot.
    By Tonto in forum Networking/Device Communication
    Replies: 2
    Last Post: 03-24-2007, 08:34 AM
  4. Replies: 1
    Last Post: 09-18-2005, 09:06 PM
  5. Multiple Client Connections
    By (TNT) in forum Windows Programming
    Replies: 1
    Last Post: 04-06-2002, 11:04 PM