On Tue, Oct 28, 2008 at 8:08 AM, Erix Yao <[EMAIL PROTECTED]> wrote:
> What is the thread model of the ftp server ?
> Is it running in only one thread except the mina's thread pool?

Yes.

> I have an idea, that after the command has been analyzed, the excution of
> each command should be thrown into a excutor or a thread pool, using
> asynchrouse mechanism to enhance the throughout of the server.
> How do you think so ?

That's pretty much what will already happen. The ExecutorFilter we
insert before the handler (and also before the decoder) does mean that
the command will run independent of the network handling, in a thread
pool. Is this also what you mean or would you like to enhance this
model somehow? Please note that we have so far done very limited
benchmarking of FtpServer. We do however plan to run extensive
performance tests after 1.0 is out. After those we might find that we
can enhance the current model.

/niklas

Reply via email to