ruby on rails - Increase reliability of capistrano deploys -


i've used capistrano long time, sites weren't critical. if went wrong, few minutes of downtime weren't big problem.

now i'm working on more critical service , need cover edge cases. 1 of if local connection server becomes interrupted in middle of deployment.

one solution can think of deployments directly server, inside of screen session. seems reasonable , obvious solution, i'm surprised i've never read elsewhere or seen recommended in capistrano documentation.

any pointers / tips welcome. thanks!

there small time window during typical capistrano deploy dropped connection cause trouble. window when current release linked new version , server told restart. if connection drops before or after that, you're fine.

if positively need safe disconnects 100%, can log onto server, open screen session , cap deploy latest release folder.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -