Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: I/O completion ports in Indy?

www.cryer.info
Managed Newsgroup Archive

Re: I/O completion ports in Indy?

Subject:Re: I/O completion ports in Indy?
Posted by:"mike" (johnson..@zonnet.nl)
Date:24 May 2006 08:40:28

>'Chat' is a TCP protocol, AFAIK.
I realize that TCP more suitable for chat, but I was just wondering if I WOULD implement it in UDP (with my own check if a packet arrived) I would have the benefit of having 100.000+ "loose" UDP connections on my server?

I know reinventing TCP isn't generally the smartest thing to do, this may however be an exception because of the nasty 25k limit?

I can't really test the UDP server limit because building more than a few thousand UDP clients locks on a single box as well. But from what I understand the server just receives all the UDP packets in serial way, where it doesn't matter how many clients are behind them?

>IOCP and/or overlapped I/O is not trivial, surely, but is certainly possible
>with Delphi.  I have had the max. 24/25 k connections open with W2k Pro
>without too much of a problem.
I really wonder how big services pull this off. Doesn't MSN have millions of people logged in? Is that UDP or just 40 server machines per million?

Thanks for the input.

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive