xaka has asked for the wisdom of the Perl Monks concerning the following question:
Hi there,
Let's say you have a remote connection (host, user, pass) and a lot of services that use it (some of them sit in child processes to don't block master process). The service is a Perl module.
At some point you decide you need to change user/pass that means you need to re-establish the connection with new credentials.
What would you do with the services (especially with those ones that sit in child processes)?
How would you tell them "you need to start over"? Events? Server reboot? Which one design approach would you go with?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How would you notify services (perl modules) to start over when shared connection has been updated?
by RichardK (Parson) on Dec 01, 2012 at 16:31 UTC | |
Re: How would you notify services (perl modules) to start over when shared connection has been updated?
by CountZero (Bishop) on Dec 01, 2012 at 18:04 UTC | |
Re: How would you notify services (perl modules) to start over when shared connection has been updated?
by Anonymous Monk on Dec 01, 2012 at 18:23 UTC |
Back to
Seekers of Perl Wisdom