Article View: borland.public.cppbuilder.internet.socket
Article #4056Re: design question
From: JJ
Date: Fri, 15 Apr 2005 22:19
Date: Fri, 15 Apr 2005 22:19
27 lines
1758 bytes
1758 bytes
If you are writing under Windows 2000+ OS you might want to read further on "Overlapped IO using Completion Port IO (CPIO) and thread pooling". With CPIO I've been able to handle over 100,000 connections simultaneously with no problem. Good luck Jeff www.ruamkwamkid.com "Jonathan Benedicto" <incorrect@no.server> wrote in message news:425ed3f4$2@newsgroups.borland.com... > I'm trying to build a server application, that uses my own custom > protocol. Many clients +100 possibly will have connect to this server, and > stay connected for hours at a time. > > Due to the fact that the server will run on a Celeron processor server, > what design do you think I should take ? I had thought that I should use a > non-blocking single TServerSocket because +100 threads seemed too much for > a Celeron. But what design would you suggest ? > > -- > > Jonathan > > >
Technical Details
Message-ID:
<42603dee@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<425ed3f4$2@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,618fb8cf8717b9fe X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "JJ" <mangpoh_007@hotmail.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <425ed3f4$2@newsgroups.borland.com> Subject: Re: design question Date: Fri, 15 Apr 2005 16:19:28 -0600 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 NNTP-Posting-Host: 65.215.215.240 Message-ID: <42603dee@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1113603566 65.215.215.240 (15 Apr 2005 15:19:26 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail