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

nu.kanga.list.mud-dev

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

[Full Header] [Plain Text]
From: Petri Virkkula <pvirkkul@iki.fi>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 10 Mar 1999 08:06:55 +0200 (EET)
References: [1]
Organization: Kanga.Nu
>>>>> "Ben" == Ben Greear <greear@cyberhighway.net> writes:

Ben> However, I wonder what to do when the accepting server on the
Ben> well known port is full?  One thing would be for it to quit
Ben> listening and spawn a new process on that well known port?

	The simplest way to handle this to raise the hard limit of
	open file descriptors if your operating system supports it,
	but that was not the answer you were expecting.
	
	I would probably go for multiple IP-addresses and multiple
	accepting servers. For example, hostname mud.dom.ain might
	have addresses 123.123.123.1-123.123.123.10 and ten processes,
	each of them listening only single address, not INADDR_ANY. I
	don't know how well this scheme would work though.


	Petri



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