Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Efficient Automation

by MidLifeXis (Monsignor)
on Apr 27, 2015 at 15:45 UTC ( [id://1124885]=note: print w/replies, xml ) Need Help??


in reply to Efficient Automation

Efficiency in what domain? Execution time is probably not a large concern (imo), because the time that it would take to start the Apache process will likely outweigh any amount of perl code that would be doing the checking.

I would be asking myself about the most efficient way to manage the maintenance of these lists. Does the set of Apache processes change? Do you need to allow other people to manage this list? Does this list of Apache processes need to be able to be moved around to different back ends?

Your solution for storage of this list may end up being a simple my @host_list, a configuration file with the necessary information that can be re-read as necessary, all the way up to a DB (small as it may be) where each back-end is able to start and stop Apache servers as the configuration changes.

--MidLifeXis

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1124885]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2024-04-26 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found