If my main app (which contains an TFtpServer component) is working hard
processing
data and a client requests a large file, does the main app stop processing
its data whilst the file is being sent ?
There are two distincts things there:
1) hard processing
2) Sending large file
Answers:
1) While you are processing, unless you place processing in a separate
thread, the FTP server will be stopped or at least very slowed down
(depending on how often you call the message pump).
2) While sendinglarge file, there is no performance hit: the componentis
asynchronous and will send the large file without blocking.
What if 25 users request the same large file ?
No problem.
Actually, if you have a very fast network (Gigabit) and hard disk system (ie
15000 rpm SCSI), and a small CPU, then the I/O will be able to overflow the
processing power of your CPU. Usually the network is the most limiting
factor. If you have 10 or 100 mbps bandwidth and a decent processor, there
will be no real slow down while files are transfered.
Does it answers your question ?
--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
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