Beego: Zero downtime deploy

Created on 23 Feb 2017  路  1Comment  路  Source: astaxie/beego

Hello, how can i deploy my updates with zero downtime using beego?

I found https://github.com/fvbock/endless repo but i need to make changes beego's ListenAndServe to use /fvblock/endless.

Does anyone know another way or did something like that?

ps. I am using websockets in beego app.

Most helpful comment

You might run 2 instances of beego app behind a proxy, eg. nginx. Then you take down one instance, update an app and take it up. Repeat the process with the other instance.

>All comments

You might run 2 instances of beego app behind a proxy, eg. nginx. Then you take down one instance, update an app and take it up. Repeat the process with the other instance.

Was this page helpful?
0 / 5 - 0 ratings