in reply to Current Thoughts on Server/Client Best Development Strategies

I think that you'd need to expand upon what type of server application you are intending to write?

Stevens list 9 different server designs:

  1. Iterative server (baseline measurement; no process control)
  2. Concurrent server, one fork per client
  3. Preforked, with each child calling accept
  4. Preforked, with file locking to protect accept
  5. Preforked, with thread mutex locking to protect accept
  6. Preforked, with parent passing socket descriptor to child
  7. Concurrent server, create one thread per client request
  8. Prethreaded with mutex locking to protect accept
  9. Prethreaded with main thread calling accept

Each have there advantages and disadvantages. Some are more applicable to some applications than others.

Salient information would include such things as:


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Current Thoughts on Server/Client Best Development Strategies