Hello, > As someone pointed out to me in a off-list message; it is really hard to > say how well it will scale until you try it. Back when I tried doing an > irc services daemon using Java, the networking library really only > offered a one socket per thread type model. As you can imagine, few > machines would be able to support 10000 users with this model. As of > J2SE 1.4, the networking library for Java has a select like model that > should allow it to scale much better. There is still the issue of all > that string manipulation, but my understanding is that has improved as > well in the Java camp.
This is an interesting comment, and reminded me of more information from my friend's irc server. The .NET framework (C# being just a front-end to the classes really) comes with a select-like model like the one you describe, but it also comes with support for asynchronous notifications on I/O, which is exactly the model that Jordi needed for his irc server, because he said select()/poll()-based systems were too slow and did not scale. So maybe we got the best of all worlds ;-) Miguel _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
