[Home] [Groups] - Message: [Prev in Group] [Next in Group]
28021: Re: [MUD-Dev] [DGN] Writing... a mud...
[Full Header] [Plain Text]
From: Amanda Walker <amanda@alfar.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 3 Sep 2003 23:46:39 -0400
References: [1]
Organization: Kanga.Nu
On Wednesday, September 3, 2003, at 01:13 PM, erich-herz@uiowa.edu
wrote:
> My first method, as a young socket programmer, was to fork each
> client. Then I read more and learned about select() and using a
> state machine for multiple-step procedures. It's slightly ugly,
> but that's the way it goes. THEN I learned about thread pools.
> My current plan resides somewhere in between - it involves 2-3
> threads - no real "pooling", in the formal way. Anyway,
> thoughts on this?
An excellent introduction to the issues involved in handling a lot
of client connections can be found in "The C10K Problem" by Dan
Kegel <http://www.kegel.com/c10k.html>. It's a nice overview of the
various strategies, and has a lot of links to more in-depth
resources. It's aimed at web and application servers, but the
general principles are quite applicable to game servers.
Amanda Walker
_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev