[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

9723: Re: [MUD-Dev] How to support 1000+ simultaneous connections, and some philosophy.

[Full Header] [Plain Text]
From: Ben Greear <greear@cyberhighway.net>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 10 Mar 1999 19:53:36 -0700
References: [1]
Organization: Kanga.Nu
Chris Gray wrote:
> 
> [Ben Greear:]
> 
>  >Anyone know how Apache does it?
> 
> Some form of handing the new connections to the child processes? You
> can do this with either BSD-style or SYSV-style sockets. That way the
> original server process can keep track of how many clients each child
> is serving, and try to balance them. You need some mechanism, like
> maybe a shared memory segment, whereby the child processes can tell
> the master when connections go away.

I don't mind researching and reading man pages, but could you give
me some hints as to how this is done?  Does it involve forking?
Something special to do with sockets?  How does the handoff occur?

Thanks,
Ben


--
Ben Greear (greear@cyberhighway.net)  http://www.primenet.com/~greear 
Author of ScryMUD:  mud.primenet.com 4444        (Released under GPL)
http://www.primenet.com/~greear/ScryMUD/scry.html


_______________________________________________
MUD-Dev maillist  -  MUD-Dev@kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev