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

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.
RIP PCW
  • Comment on Re^13: Parallel Search using Thread::Pool

Replies are listed 'Best First'.
Re^14: Parallel Search using Thread::Pool
by shanu_040 (Sexton) on Jul 01, 2009 at 15:51 UTC
    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