[Home] [Groups] - Message: [Prev in Group] [Next in Group]
23902: [MUD-Dev] RE: Questions about server design
[Full Header] [Plain Text]
From: James Edward Gray II <chessman@mac.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 22 May 2002 12:16:47 -0500
Organization: Kanga.Nu
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@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev