Board index » delphi » Re: RealThinClient components > preparing the Roadmap for the Year 2006

Re: RealThinClient components > preparing the Roadmap for the Year 2006


2005-08-28 04:31:44 AM
delphi256
Danijel Tkalcec (RealThinClient) napsal:
Quote
Having to have one thread per connection is a serious resource problem in
any server application (even if it was only a memory problem), since all
resources are limited. By using a smaller stack per thread could give you
more threads in exchange for less stack, but you are still using up a lot
more system resources then you really need or should.
Nice theory... but in practice first lost resource is not in your
computer, but in your internet connection. :-) You are limited by your
network bandwidth!
When you have server with lot of connected clients, and all clients
needs to transfer data, then you are very limited by your internet
connection. Have you a few gigabit connectivity to internet? If not,
then why you are thinking about thousands connected clients on your
server? :-O
Yes, you can use gigabit local network... but who have 32000 computer
on their LAN?
OK, you can tell somethink about sleeping clients who not transferring
datas in same time. But remember, in synchronout technology sleeping
clients are handled by sleeping thread too - it is not any resource
problem except memory. (And memory is not too expensive!)
Back to reality! Who have server with 32000 clients? It is not common
request. Major count of people need good clients implemetations and
small servers (up to 1000 clients). Bigger servers are minor. And for
small server is blocking technology enough and easy. ;-)
When you need to create really big server for really big number of
clients, then best solution is handle API by self and not use any
componets! You must have very big experience with network programming
and with performance optimalizations. And who know this, then they can
wrote their own socket code optimalised to specific situation in their
heavy loaded server - result will be much better then when they use any
third-party component.
Lukas.
 
 

Re: RealThinClient components > preparing the Roadmap for the Year 2006

Hoi Lukas
Take a look here:
delphi.wikicities.com/wiki/Delphi_Newsgroups