in reply to Re^13: Thread Design help
in thread Thread Design help
Thanks for response.
For ssh and DBI we will have two separate programs, and will be easy to maintain. for running in sequential, we will have problem.
Example: there is poosility of delay in process for few servers and might create problem when report won't be available on time.
I am thinking to use Thread::queue, will divide servers into 10-15 groups and kick off programm with GRP1..N as input parameter.
example:
1. collector. pl GRP1 ## GRP1 will contain 30-40 dataserver
Please suggest if this approach is not efficient.
Thanks
For ssh and DBI we will have two separate programs, and will be easy to maintain. for running in sequential, we will have problem.
Example: there is poosility of delay in process for few servers and might create problem when report won't be available on time.
I am thinking to use Thread::queue, will divide servers into 10-15 groups and kick off programm with GRP1..N as input parameter.
example:
1. collector. pl GRP1 ## GRP1 will contain 30-40 dataserver
Please suggest if this approach is not efficient.
Thanks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^15: Thread Design help
by Corion (Patriarch) on Sep 11, 2010 at 20:36 UTC |
In Section
Seekers of Perl Wisdom