Upgrade to Pro — share decks privately, control downloads, hide ads and more …

1秒でも早くAutoScale

 1秒でも早くAutoScale

@threetreeslight
Repro Inc.

shinjuku.rb #[email protected]
Dec 16, 2015

threetreeslight

December 16, 2015
Tweet

More Decks by threetreeslight

Other Decks in Technology

Transcript

  1. ඵͰ΋ૣ͘"VUP4DBMF @threetreeslight Repro Inc. shinjuku.rb #[email protected] Dec 16, 2015

  2. Akira Miki Repro @treetreeslight

  3. None
  4. ෼ੳ͔Βղܾ·Ͱ̍ΫϦοΫʂ

  5. "CPVU"VUP4DBMJOH

  6. Target is API server API Servers configuration

  7. "1*αʔόʔΛ
 4DBMFͤ͞Δ͓࿩Ͱ͢
 ʢߴ଎Խʹ͍ͭͯ͸࿩͠·ͤΜ

  8. )PXUPTDBMFRVJDLMZ w ৗʹ࠷৽ͷίʔυͰଈىಈ͍ͨ͠ w 1VMM͸஗͍ w SPMMCBDL΋Ͱ͖ͳ͍ͱͩΊ w 1PMJDZͲ͏͢Δʁ w

    )FBMUIDIFDLͲ͏ௐ੔͢Δʁ w Ͳ͏σϓϩΠ૊Ήʁ
  9. ৗʹ࠷৽ͷίʔυ "1*4FSWFST ".*࡞੒༻
 "1*4FSWFS σϓϩΠ SPMMCBDLؚΉʣ
 ຖʹ ".* -BVODI
 $POpHVSBUJPO

  10. 4DBMF1PMJDZ w *ODSFBTF w ΞΫηε͕૿͑Δ܏޲ MBUFODZΑΓ$16΍3FRVFTU $PVOU ͕ݟ͑ͨॠؒʹཱͭɻϨεϙϯεฦ͞ͳ͍Α ͏ʹݶքΑΓखલͰཱͭɻ w

    %FDSFBTF w &$Πϯελϯε͸̍࣌ؒ՝ۚͳͷͰ͙̍࣌ؒΒ͍҆ఆ͠ ͯͨΒࡴ͙͢Β͍ͷײ͡ͰΑ͞ؾɻ w 4DIFEVMFE w ΞΫηε͕ଟ͍࣌ؒଳ͸ࣄલʹ4DIFEVMFEඞਢ
  11. &-#΁ͷ௥ՃλΠϛϯά w )FBMUIZ5ISFTIPMEʹୡ͢Δ Α͏ʹग़དྷΔ͚ͩ୹ͯ͘͠·͢ w ΋ͬͱ୹ͯ͘͠΋Α͍͔΋ɻ

  12. Deploy Flow clone precompile db migration data migration Assets manifest.json

    process restart Switch Dir
  13. ී௨Ͱ͢

  14. Deploy Flow Already Deploy Flow ".*࡞੒ -BVODI$POGJHVSBUJPO࡞੒ 4VTQFOE"4 6QEBUF"4(SPVQ 3FTVNF"4

  15. ·ͱΊ

  16. ·ͱΊ w ".*࡞੒༻JOTUBODFΛ༻ҙ͢Δͱྑ ͍ w 1PMJDZ͸ݫ͠໨ʹ w )FBMUI$IFDL͸୹Ίʹ w %FQMPZ࣌ؒΑΓརศੑ

  17. ͪͳΈʹ

  18. )*3*/(/08