[Mono-list] Mono fitness for ircd project

Matt Liotta mliotta@r337.com
Mon, 3 Jun 2002 14:15:44 -0700

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.

I would love to be able to use a higher level language than C for things
like irc, but IMHO none of the languages out there, Java or C#, are
really ready to handle those kinds of loads.

It would be pretty easy to write a test though. There are plenty of
script kiddie programs on the net to load test a daemon with.


> -----Original Message-----
> From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]
> Behalf Of Remco Rijnders
> Sent: Monday, June 03, 2002 12:41 PM
> To: mono-list@ximian.com
> Subject: Re: [Mono-list] Mono fitness for ircd project
> On Monday 03 June 2002 21:26, Matt Liotta wrote:
> > Not sure what kind of traffic your ircd needs to support, but C#
> > won't keep up with anything high volume. I tried at one point to
> > an irc services daemon using Java and it didn't work out very well.
> Dear Matt,
> The ircd would (if it ever would come out of development) support a
> network of about 1250 users at peek times. I'd like to have it scale
> to 10000 users as one might never know what the future might bring. Do
> you have any idea what the performance penalty might be between C# and
> natively compiled C program? I know Java performs much better now than
> only a few years back and was hoping that C# might be able to run the
> ircd at about 2x the cost of native code as that would be acceptable
> me.
> Kind regards,
> Remmy
> --
> ICQ: 760542, Tel: (+31) 6 11316573, http://www.webconquest.com
> -*- Zippy's revelation of the moment: -*-
> Well, I'm INVISIBLE AGAIN ... I might as well pay a visit to the
> ROOM ...
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list