Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create deploy script #1

Open
karszawa opened this issue Sep 6, 2019 · 1 comment

Comments

@karszawa
Copy link
Owner

commented Sep 6, 2019

@karszawa

This comment has been minimized.

Copy link
Owner Author

commented Sep 7, 2019

@karszawa が ISUCON8 の予選用に使ったスクリプト

cd /home/isucon/torb/webapp/go

make

for service in "mariadb torb.go h2o"; do
  systemctl restart $service.service
  systemctl status $service.service
done

シングルインスタンスかつサーバーで実行することを想定してるので

  • マルチインスタンスに対応
  • リモートから実行できるように
  • サーバーのロールごとに処理を書き換えられるように

しないといけない。
ミドルウェアの構成にもよるので本番中に臨機応変に書き換えないといけない。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.