Testing maximum client connections

This is a discussion on Testing maximum client connections within the Networking/Device Communication forums, part of the General Programming Boards category; I need to test the maximum theoretical and maximum feasable connections a server program can handle. Any suggestions on doing ...

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

    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?
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  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,189
    well, I suppose I will need a couple more systems then, otherwise client load will interfere with server load.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  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,189
    Yeah, well my code is usually pretty efficient. I'm aiming at a minimum of 1024 connections per server.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  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,189
    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.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

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, 06: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, 10:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21