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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -