Incorrect. A lot of the work of transferring a file is waiting for the data to arrive. POE can wait for data to arrive in parallel without threading.

POE::Component::Client::FTP may or may not be programmed to allow this, but POE can do it. It's a common misunderstanding to say "POE" when you mean "a module using POE". POE's authors have little control over how it's used.

--
Rocco Caputo - [email protected]


On May 2, 2009, at 02:39, Roy M. wrote:

Hi guy,

Some basic questions about POE.


For example, in the module: POE::Component::Client::FTP

http://search.cpan.org/~bingos/POE-Component-Client-FTP-0.22/lib/POE/Component/Client/FTP.pm


What I see is the old sequential ftp operations now being replaced by
some call back handlers and they will trigger automatically.

But the speed of the whole FTP operations (e.g. login, download, and
bye) should remain the same (or slower in fact due to overhead).

So if I want to have faster speed, e.g. download more then one files
at the same time, I need to use thread and POE together?

Am I correct?


Thanks.

Reply via email to