Network Services Architecture Question.

This is a discussion on Network Services Architecture Question. within the Tech Board forums, part of the Community Boards category; My question is hypothetical: Your writing a multi-client service application, what architecture for the sockets would you choose (and why)? ...

  1. #1
    That Creepy Network Guy DeepBlackMagic's Avatar
    Join Date
    Feb 2003
    Posts
    265

    Network Services Architecture Question.

    My question is hypothetical: Your writing a multi-client service application, what architecture for the sockets would you choose (and why)?

    A Blocking approach where each socket is accepted and has its own thread,

    OR

    A nonblocking approach using far fewer threads with a select loop.

    Im curious to know which performs better under which situations and why you would choose one over another.

  2. #2
    Registered User
    Join Date
    Aug 2002
    Location
    Hermosa Beach, CA
    Posts
    446
    I had always heard that the blocking/threading approach is easier, but the async/select method yields higher performance. Not sure how much higher. I've always used the approach with threads.
    The crows maintain that a single crow could destroy the heavens. Doubtless this is so. But it proves nothing against the heavens, for the heavens signify simply: the impossibility of crows.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. general network question
    By n3v in forum Networking/Device Communication
    Replies: 4
    Last Post: 05-26-2006, 02:21 PM
  2. Exam Question - Possible Mistake?
    By Richie T in forum C++ Programming
    Replies: 15
    Last Post: 05-08-2006, 04:44 PM
  3. 3D Network Analysis Tool
    By durban in forum Projects and Job Recruitment
    Replies: 1
    Last Post: 11-08-2005, 06:33 PM
  4. Game Network Architecture
    By f0r3nsic in forum Game Programming
    Replies: 3
    Last Post: 10-10-2005, 11:57 PM
  5. Need help with easy Network setup
    By the dead tree in forum Tech Board
    Replies: 9
    Last Post: 04-08-2005, 08:44 PM

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