[JDEV] Performance
Donn Cave
donn at u.washington.edu
Wed Apr 26 10:58:05 CDT 2000
Quoth "David Waite" <mass at ufl.edu>:
| I agree that a pool of threads (shoot, 1000 enough?) servicing all TCP
| connections would be enough. And I wouldn't doubt there could be a change to
| the TCP/IP layer in Linux and other operating systems to support a massive
| number of TCP sockets - the problem is that it wasn't really until recently
| (HTTP) that people had to deal with massive number of TCP sockets at all,
| and even then they don't have to deal with long-lived connections (i.e.
| hours or days) that will be idle most of that time. And having these user
| threads in 'groups' of native threads will help utilize multiprocessor
| machines (although I do not know how much of a load jabber puts on a
| machine, I though the server was currently memory-limited)
Long lived connections that are idle most of the time is a silly thing
to support if it's expensive. Whether the present server hangs up on
these connections or not, the clients had better expect to see that
happen some day.
Donn Cave, donn at u.washington.edu
More information about the JDev
mailing list