in reply to Re^10: Parallel Search using Thread::Pool
in thread Parallel Search using Thread::Pool

Yes. I'm aware that is a part of the OP question, but I specifically meant the question in the post to which I reponded this time.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."
  • Comment on Re^11: Parallel Search using Thread::Pool

Replies are listed 'Best First'.
Re^12: Parallel Search using Thread::Pool
by shanu_040 (Sexton) on Jul 01, 2009 at 06:32 UTC
    Hi,
    What i want to achieve is Here. But I am not sure how can I do it in perl.

      There are two major parts to your metasearch problem:

      1. Communicating with multiple servers concurrently and fielding their responses as they reply.

        This part is relatively simple using threads.

      2. Keeping the user aprised of the progress by updating their browser window in real-time without using refreshes.

        Sorry, but I am not a web guy. I know almost nothing about AJAX beyond the name.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        Could you please post the pseudo code for the 1st Part? What I have in my mind is using Boss-Worker thread model along with Thread::Pool. I want to use 1st part as Parallel server. That will run on another physical machine. Any help or direction will be highly appreciable. Thanks