Graceful upgrades?
Posted: Tue Jul 06, 2010 10:40 am
I'm wondering, when you update a software system which is actively in use, how do you ensure all requests prior shutdown are allowed to continue to completion?
Or do you use another technique?
It's to my understanding that all pending requests are finished before the server goes down, so if someone executes an action which takes a few seconds to update tables, etc, this request would complete before apache is shutdown completely. How reliable is this technique in ensuring tables don't lose integrity? Short of using InnoDB and transactions (which I did not do - I used MyISAM) what can I do to ensure upgrades are painless???
Cheers,
Alex
Code: Select all
apache2ctl gracefulIt's to my understanding that all pending requests are finished before the server goes down, so if someone executes an action which takes a few seconds to update tables, etc, this request would complete before apache is shutdown completely. How reliable is this technique in ensuring tables don't lose integrity? Short of using InnoDB and transactions (which I did not do - I used MyISAM) what can I do to ensure upgrades are painless???
Cheers,
Alex