[JDEV] im unified

Peter Donald donaldp at mad.scientist.com
Fri Sep 1 03:57:42 CDT 2000


At 01:40  30/8/00 -0600, you wrote:
>This disbelief in TCP/IP just doesn't make sense.  I'm very aware of the
>scaling issues surrounding TCP, but moving to UDP is almost a fundamental
flaw
>for an IM system.  IM needs the ability to gurantee delivery, and keep it
real
>time.  UDP can't intrinsically give this, and therefore, in my opinion, is
>flawed.  Wehn you start writing this ability on to UDP your just creating a 
>slower system, and then start to mess with that real time nature. 

Im not sure how familiar you are with differences between TCP/UDP but I
would suggest doing some background reading on the subject. You made some
gross over simplifications and had some *interesting* interpretations on
the state of things. I would suggest a little reading before so you can
understand the real differences before you say things such as "moving to
UDP is almost a fundamental flaw for an IM system". 

>The other
>major item of interest is that we're not even limited by the socket count, in
>general your going to find RAM and CPU issues before you find conn limits.

yep and TCP contributes to this - in general there is a fair bit of
overhead in maintanence. From memory the buffers are about 1k and can be
larger depending on OS/kernel mods. Think about - this buffer is much less
efficient representation than the Jabber router can represent data in - is
mostly empty when not completely empty.

I am not sure why CPU is a limiting factor thou - could you elaborate ?

>I'd be happy to discuss scaling further, as I'm working on scaling the server
>to 10million users.

Good luck but I seriously doubt you will able to do this without massive
distribution or a large machine using TCP. Is there any equivelent systems
that even come close to that number using TCP ? I don't know any but .....

Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*




More information about the JDev mailing list