![](https://s.togetter.com/static/web/img/placeholder.gif)
任天堂とはてなのエンジニアが語る! Miiverseの大規模デプロイ手法 #yapcasia #yapcasiaE
世界展開する大規模ウェブサービスのデプロイを支える技術 - YAPC::Asia Tokyo 2015
http://yapcasia.org/2015/talk/show/9ec2791c-05e5-11e5-81fa-79c97d574c3a
![](https://s.togetter.com/static/web/img/placeholder.gif)
cap2とgit。各ホストがgitから成果物を持ってくる。よくある構成。しかし規模が違う。3リージョン使っていて場所によっては遠い。一度に数百台からpullされたら死ぬ #yapacasia #yapcasiaE
2015-08-21 11:20:16![](https://s.togetter.com/static/web/img/placeholder.gif)
各regionにGit Slaveを用意して、そこからgit pullするかたち #yapcasia #yapcasiaE
2015-08-21 11:20:22![](https://s.togetter.com/static/web/img/placeholder.gif)
そこらへんは Git Slave で解決。ただし git push してから同期されるまで少しタイムラグがある #yapacasia #yapcasiaE
2015-08-21 11:21:08![](https://s.togetter.com/static/web/img/placeholder.gif)
10分に一回git slaveにsyncしてくるとかランダムスリープとかしてgitの負荷軽減 #yapcasia #yapcasiaE
2015-08-21 11:22:12