----- Original Message ----- From: "Roger Vaughn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 6:14 AM Subject: Re: FTP & Directories
> > --- Steve Loughran <[EMAIL PROTECTED]> wrote: > > > > Incidentally, does anyone know why the ftp task is > > so slow? > > > > The FTP task relies exclusively on Daniel Savarese's > NetComponents for actually handling the FTP protocol > and transfers. There's not terribly much in the FTP > task itself except directory handling, so I'd have to > suspect NetComponents, though it will be hard to say > what's actually happening until Jakarta gets their > hands on this code. (Is this going to happen one of > these days?) > > If anyone knows of a faster open source FTP library, > I'm sure we switch it in. I could see the performance issues werent in the task, and not having seen the library source dont know where to begin there. To speed up bulk IO the obvious tactic would be to split file IO and net IO into two threads with a shared memory queue between them, so everything would go in parallel. But I would have expected the OS to have done lookahead on a sequential read process and buffering on writes anyway. Whatever, without the source it remains as it is. -steve
