http://qs321.pair.com?node_id=11118103


in reply to Re: Need suggestion on problem to distribute work
in thread Need suggestion on problem to distribute work

All Thanks for your responses.

When I say a remote server is its a FreeSWITCH server to whom I want to send work but its takes time so I cant send more work unless that work reaches to it. I wish to handle it separately.

I connect with single database only eg I do 200 insertion + 200 times work sending to remote server due to this next bach has to wait. Wish to fork this out from main loop so that separate thread will take care of this,

Since its calling related I have X numbers of servers so I need to connect them in round robin to distribute work. I hope this clarify :-)
Updated the question as well,
  • Comment on Re^2: Need suggestion on problem to distribute work