 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jon Lennart Berg Guest
|
Posted: Mon Oct 27, 2003 6:39 pm Post subject: Number of connections winsock can handle |
|
|
I am writing a new server system (with a new protocol) and i am wondering if
i should opt for a stateless or keep-alive architecture.
How many users can be connected to a pc at any given point before the system
becomes unstable? There will be a lot of uploading and downloading of files.
What would the recomended limit be? 20, 30, 100 or 500 users?
Any knowledge is welcome
Jon Lennart Aasenden,
Norway
|
|
| Back to top |
|
 |
Francois PIETTE Guest
|
Posted: Mon Oct 27, 2003 8:10 pm Post subject: Re: Number of connections winsock can handle |
|
|
| Quote: | I am writing a new server system (with a new protocol) and i am wondering
if
i should opt for a stateless or keep-alive architecture.
How many users can be connected to a pc at any given point before the
system
becomes unstable? There will be a lot of uploading and downloading of
files.
What would the recomended limit be? 20, 30, 100 or 500 users?
Any knowledge is welcome
|
This has been discussed lot's of times.
The number of sockets that can simultaneously be opened depend on your
Windows version (Win 9x is limited to something less than 100) and for
serverversion is motly limited by the amount of physical RAM you have in the
system because socket use memory from the non paged pool. You could reach
50000 open sockets if you run Windows 2000 with 1GB or more of RAM.
For more informations, read the article at
http://www.microsoft.com/mspress/books/sampchap/5726a.asp
--
Contribute to the SSL Effort. Visit
http://overbyte.delphicenter.com/eng/ssl.html
--
[email]francois.piette (AT) overbyte (DOT) be[/email]
The author for the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
|
|
| Back to top |
|
 |
Chad Z. Hower aka Kudzu Guest
|
Posted: Thu Oct 30, 2003 7:21 pm Post subject: Re: Number of connections winsock can handle |
|
|
"Francois PIETTE" <francois.piette (AT) overbyte (DOT) be> wrote in
news:3f9d7c21$1 (AT) newsgroups (DOT) borland.com:
| Quote: | the system because socket use memory from the non paged pool. You could
reach 50000 open sockets if you run Windows 2000 with 1GB or more of
RAM.
|
W2k is more like 40,000, and XP like 50K. However those sockets wont be able
to do anything, and neither will the system if you open that many.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Need extra help with an Indy problem?
http://www.atozed.com/indy/experts/support.html
ELKNews - Get your free copy at http://www.atozedsoftware.com
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|