I try to understand the thread, login and handle limit options for ftpserver
and sftp server. Beneath you can find the way I understand it at the moment.
Is this correct? Anything to add?
I want to give the user a small guide when they should use the options.
*Thread / NIO worker threads*
Each client request has to be handled by one thread. The thread is blocked
for other requests
for that time. Examples:
- Login process (some seconds for login process)
- File transfer (as long as the file is transfered)
Is there any difference between ftp and sftp server?
*Login / session*
A login is created for each login and each file transfer
- If the login is limited to 3 and a user downloads 3 files, the server is
blocked for everyone and everything else
*Handles (sftp only)*
A Handle is a file transfer and the value is counting per client
- If you start two clients you can transfer two files
--
View this message in context:
http://apache-mina.10907.n7.nabble.com/Difference-between-Threads-Logins-and-Handles-tp45222.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.