Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 May : Re: Sockets limits....

www.cryer.info
Managed Newsgroup Archive

Re: Sockets limits....

Subject:Re: Sockets limits....
Posted by:"Carlos Franciscatto" (cfranciscat..@gmail.com)
Date:4 May 2006 07:18:13

Hi Martin.

Yes, I'll have 10000 servers and it will work like proxy. I dont have expirence with IOCP and I´m going to study it to try solve my problem.

Thanks
Carlos.

"Martin James" <mjames_falcon@dial.pipex.com> wrote:
>>
>> Hello!
>> I have to develop an application to work like a gateway. It has groups (up
>to 5000) of 2 server sockets
>
>10000 sockets.  Right.
>
> and everything that I receive in one server I have to write to other in the
>same group (replicate data).
>
>So, like a sort of proxy.
>
>>My questions are:
>> - What´s the better way to develop it? (application with 10000 (5000
>groups of 2 sockets)sockets?,
>
>Overlapped, and maybee IOCP, non-blocking server.  It's the only chance you
>have.
>
> 5000 services?, application that start 5000 proccesses? threads?)
>
>5000 services/processes/threads is just too much.
>
>> - What´s the resource limits of Windows?
>
>About 24k sockets, at least on W2k Pro.  Server versions may be better.
>
>> - Is it better to develop for Linux (Kylix)?
>
>I doubt it.
>
>Rgds,
>Martin

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive