[MUD-Dev] RE: Questions about server design

James Edward Gray II chessman at mac.com
Wed May 22 12:16:47 CEST 2002


On Tuesday, May 21, 2002, at 02:02  AM, F. Randall Farmer wrote:

> Under java before 1.4, multiuser servers had to spawn two threads
> per connection, effectively limiting your connections based on
> available memory (there is a lame minimum thread size that makes
> this method prohibitive in most environments over a few hundred
> users.)

I prefer spawning individual threads for input (one per user) and
using a thread pool for output.  This scales slightly farther, but
you're right about the upper limits.

James

_______________________________________________
MUD-Dev mailing list
MUD-Dev at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list