[JDEV] UDP vs TCP
mark at mjwilcox.com
mark at mjwilcox.com
Sat Sep 2 09:45:12 CDT 2000
On 1 Sep 00, at 6:52, ltherond at elitehill.com -- pop account wrote:
>
> ----- Original Message -----
> From: <mark at mjwilcox.com>
> To: <jdev at jabber.org>
> Sent: Friday, September 01, 2000 6:32 AM
> Subject: Re: [JDEV] UDP vs TCP
>
>
> > The basic message is still valid. TCP, at least at the moment, is
> > still the better choice for implementing Jabber because TCP will
> > give us good enough performance, with a lot less work and we'll
> > worry about massive scaling later.
>
> I disagree. TCP makes poor use of today's networks.
> How many times do you think a message should get onto the wire?
> n times through n TCP connections, or once via a broadcast/multicast?
>
But most networks aren't ready for this, at least not without being
hammered. We've seen this at work (a very large univeristy), as
we've been getting ready for streaming video.
By default nearly all NICs are set to broadcast and if you're on a
hub, half the traffic is just this broadcast 'ping'.
If you're on a switched network, it's ok, but I just think this a false
assumption.
Don't get me wrong, I think that we should be looking to a better
solution, but I think that the default should be TCP. As Thomas has
pointed out, you can write your own protocol plugin to give you
multiple options.
Mark
Mark Wilcox
mark at mjwilcox.com
Got LDAP?
More information about the JDev
mailing list