Re: How does POE speed up operation in reality?

"Roy M." <[email protected]>
Newsgroups gmane.comp.lang.perl.poe
Message-ID <[email protected]>
Hi.

On Sat, May 2, 2009 at 2:56 PM, Rocco Caputo <[email protected]> wrote:
> 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.
>


What if I have some blocking operation within a callback, e.g. MySQL
query in `authenticated` method in POE::Component::Client::FTP ?

I think unless I make it run as parellel, the bottomneck still exist
as it is single threaded?


Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.