Hi. thanks for your answer. My Server is OK. My application is IM system that can support file receive/send (throught server),message,etc.
On Mon, Aug 3, 2009 at 8:00 PM, <twsocket-requ...@elists.org> wrote: > Send TWSocket mailing list submissions to > twsocket@elists.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > or, via email, send a message with subject or body 'help' to > twsocket-requ...@elists.org > > You can reach the person managing the list at > twsocket-ow...@elists.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of TWSocket digest..." > > > Today's Topics: > > 1. How to do?(use a thread for each 20-100 connections) (CN VGOO) > 2. Re: How to do?(use a thread for each 20-100 connections) > (francois.pie...@skynet.be) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 3 Aug 2009 16:51:30 +0800 > From: CN VGOO <vgoo...@gmail.com> > Subject: [twsocket] How to do?(use a thread for each 20-100 > connections) > To: twsocket@elists.org > Message-ID: > <5e03b3190908030151k6ce8b8b1p5e8a45df78e83...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi ,All. > I want to write a TCP Server that need support about 20,000+ simultaneous > connections.and I search the mail list.i find the url: > http://marc.info/?l=twsocket&m=106321910523681&w=2 > > francois.pie...@overbyte.be say: use a thread for each 20-100 connections. > but i know how to make a sock with a thread,but how to use a thread > for each 20-100 connections. > someone can give me a demo (source code). > > thanks .sorry my poor english. > > > ------------------------------ > > Message: 2 > Date: Mon, 03 Aug 2009 13:48:26 +0200 > From: francois.pie...@skynet.be > Subject: Re: [twsocket] How to do?(use a thread for each 20-100 > connections) > To: twsocket@elists.org > Message-ID: <7qb0qm$c3p...@relay.skynet.be> > Content-Type: text/plain > > > Hi ,All. > > I want to write a TCP Server that need support about 20,000+ > simultaneous > > connections.and I search the mail list.i find the url: > > http://marc.info/?l=twsocket&m=106321910523681&w=2 > > > > francois.pie...@overbyte.be say: use a thread for each 20-100 > connections. > > but i know how to make a sock with a thread,but how to use a thread > > for each 20-100 connections. > > someone can give me a demo (source code). > > Before starting your development, what will your server configuration once > deployed ? You need a large beast such as a dual quadcore xeon with the > maximum ram supported on the computer, fast SCSI drive to support such > load. > > A quick note: please describe your application. Most of the time you can > reduce the number of simultaneous connections by carefully designing your > application. > > What is the actual number of ACTIVE clients at a given time, average on a 5 > minutes interval and peak at a given instant. > > -- > francois.pie...@overbyte.be > Author of ICS (Internet Component Suite, freeware) > Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be > > ------------------------------ > > _______________________________________________ > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > > End of TWSocket Digest, Vol 333, Issue 1 > **************************************** > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be