MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
[MUD-Dev] Re: OT: Java multithreading performance
On Mon, 18 May 1998, Chris Gray wrote:
> [Vadim Tkachenko:]
>
> :I have the logging routine implemented in such a way that it accepts the
> :messages and prints... well, makes them available to the final logging
> :device, in the thread runninh with background priority. When I ran this
> :est, I had to disable all that stuff because the log was becoming silent
> :after some number of threads (don't remember the exact number, though).
>
> Understood. Determining what the absolute number of threads it can support
> is academically interesting, but not real useful. Determining the number
> of MUD-server-like threads that it can support is more useful. Your
> result is closer to that. So, if a server design in Java intends to use
> a thread per client, and each client should have an open socket, then at
> least on Linux, the socket-per-process limit is likely to be reached before
> any inherent Java limit. Of course, there is still the CPU power limit,
The socket limit has me worried. I can't think of a clean way to get
around this in Java. I suppose I could do a
System.??("java AnotherServerBackEnd")
but that seems messy at best.
Anyone got around this, or know of a project which has tried?
Ben Greear (greear#cyberhighway,net) http://www.primenet.com/~greear
Author of ScryMUD: mud.primenet.com 4444
http://www.primenet.com/~greear/ScryMUD/scry.html
--
MUD-Dev: Advancing an unrealised future.
- Thread context:
- [MUD-Dev] Re: OT: Java multithreading performance, (continued)
- [MUD-Dev] Re: OT: Java multithreading performance,
Vadim Tkachenko vt#freehold,crocodile.org, Sun 17 May 1998, 00:22 GMT
- [MUD-Dev] Re: OT: Java multithreading performance,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Sun 17 May 1998, 17:16 GMT
- [MUD-Dev] Re: OT: Java multithreading performance,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Mon 18 May 1998, 17:17 GMT
- [MUD-Dev] Re: OT: Java multithreading performance,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Wed 20 May 1998, 13:49 GMT
- [MUD-Dev] Re: MURKLE: Wot it is,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Sat 16 May 1998, 06:02 GMT
[ Other Periods
| Other mailing lists
| Search
]