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

速度.vim / sokudo.vim

速度.vim / sokudo.vim

https://gorillavim.connpass.com/event/121394/
ゴリラ.vim #2 の発表資料です。

Takeshi Kondo

March 11, 2019
Tweet

More Decks by Takeshi Kondo

Other Decks in Technology

Transcript

  1. 

  2. ຊ೔ͷର৅ͱΰʔϧ w ର৅ w งғؾͰWJNΛ࢖ͬͯΔͻͱ ࡢ೔·Ͱͷࣗ෼  w EE (

    TFBSDIͱ͔ΛงғؾͰ࢖ͬͯΔͻͱ ࡢ೔·Ͱͷࣗ෼  w WJNͷݪཧݪଇΛཧղ͍ͯ͠ͳ͍ͻͱ ࡢ೔·Ͱͷࣗ෼  w ΰʔϧ w WJNʹ͓͚ΔҠಈl.PUJPOzΛཧղ͢Δ w WJNʹ͓͚ΔzมߋzΛཧղ͢Δ w WJNʹ͓͚Δมߋ͕܁Γฦ͠ར༻ՄೳͰ͋Δ͜ͱΛཧղ͢Δ w WJNͷ0QFSBUPSɾ$PVOUFSɾ.PUJPOͷ֓೦Λཧղ͢Δ
  3. ຊ೔ͷର৅ͱΰʔϧ w ର৅ w งғؾͰWJNΛ࢖ͬͯΔͻͱ ࡢ೔·Ͱͷࣗ෼  w EE (

    TFBSDIͱ͔ΛงғؾͰ࢖ͬͯΔͻͱ ࡢ೔·Ͱͷࣗ෼  w WJNͷݪཧݪଇΛཧղ͍ͯ͠ͳ͍ͻͱ ࡢ೔·Ͱͷࣗ෼  w ΰʔϧ w WJNʹ͓͚ΔҠಈl.PUJPOzΛཧղ͢Δ w WJNʹ͓͚ΔzมߋzΛཧղ͢Δ w WJNʹ͓͚Δมߋ͕܁Γฦ͠ར༻ՄೳͰ͋Δ͜ͱΛཧղ͢Δ w WJNͷ0QFSBUPSɾ$PVOUFSɾ.PUJPOͷ֓೦Λཧղ͢Δ ͭ·Γॳ৺ऀ޲͚ ҆৺ͯ͠Ͷ
  4. ͓͠ͳ͕͖ w Ҡಈ w .PUJPO w มߋ w .PEFTͱมߋ w

    /PSNBM.PEFͰ࣮ߦͰ͖Δมߋ w 0QFSBUPS $PVOUFS .PUJPOʹΑΔมߋ w ܁Γฦ͠ w 6TF$BTF w 0QFSBUPS .PUJPO1BUUFSO w 0QFSBUPS $PVOUFS .PUJPO1BUUFSO
  5. ͓͠ͳ͕͖ w Ҡಈ w .PUJPO w มߋ w .PEFTͱมߋ w

    /PSNBM.PEFͰ࣮ߦͰ͖Δมߋ w 0QFSBUPS $PVOUFS .PUJPOʹΑΔมߋ w ܁Γฦ͠ w 6TF$BTF w 0QFSBUPS .PUJPO1BUUFSO w 0QFSBUPS $PVOUFS .PUJPO1BUUFSO
  6. .PUJPO w ୯ޠ w XۭനΛؚΉ୯ޠͷ຤ඌ·ͰXPSE w 8લํʹҠಈ803% w FۭനΛؚ·ͳ͍୯ޠͷ຤ඌ·ͰFOEPGXPSE w

    &จࣈͷ຤ඌ&OEPG803% w CXPSETޙํʹҠಈCBDLXPSE w #8PSETޙํʹҠಈ#BDL803% w ߦ w ߦ຤·Ͱ w ͦͷߦͷ࠷ॳʹҠಈʢۭനؚΉʣจࣈ໨ʜ  w ?ͦͷߦͷ࠷ॳʹҠಈʢۭനআ͘ʣਖ਼نදݱ?
  7. .PUJPO w ݕࡧ w G\DIBS^࣍ʹ͋ΒΘΕΔจࣈ·ͰҠಈpOE w '\DIBS^GͷޙΖ޲͖ w U\DIBS^ӈʹ޲͔ͬͯ࣍ʹݱΕΔจࣈ·Ͱ UJMM

    Ҡಈ w 5\DIBS^UͷޙΖ޲͖ w ্Լ w (<DPVOU>ߦ໨ͷ࠷ॳͷඇۭനจࣈʹҠಈ w Χ΢ϯτͳ͚Ε͹࠷ޙ(PUP w HH<DPVOU>ߦ໨ͷ࠷ॳͷඇۭനจࣈʹҠಈ w Χ΢ϯτͳ͚Ε͹࠷ॳHPUP w <DPVOU>ˋͷҐஔʹҠಈ
  8. ͓͠ͳ͕͖ w Ҡಈ w .PUJPO w มߋ w .PEFTͱมߋ w

    /PSNBM.PEFͰ࣮ߦͰ͖Δมߋ w 0QFSBUPS $PVOUFS .PUJPOʹΑΔมߋ w ܁Γฦ͠ w 6TF$BTF w 0QFSBUPS .PUJPO1BUUFSO w 0QFSBUPS $PVOUFS .PUJPO1BUUFSO
  9. .PEFTʢGPSEFUBJMT lIWJNNPEFTzʣ /PSNBM *OTFSU 7JTVBM W7 &TD J* B" P0

    &TD ۣܗ͔ ۣܗ͡Όͳ͍͔ ͲͷҐஔʹҠಈ ͯ͠*OTFSUNPEF ʹભҠ͢Δ͔
  10. .PEFTʢGPSEFUBJMT lIWJNNPEFTzʣ /PSNBM *OTFSU 7JTVBM W7 &TD J* B" P0

    &TD WJTVBMNPEFͰબ୒ ͨ͠ൣғ͸ΦϖϨʔλ ʢޙड़ʣͷର৅ʹͳΔ
  11. /PSNBM.PEFͰ࣮ߦͰ͖Δมߋ 0QFSBUPSͰ͸ͳ͍ w $$IBOHFߦ຤·Ͱมߋ͢Δ w %%FMFUFߦ຤·Ͱ࡟আ͢Δ w ::VOLߦΛίϐʔ w QQBTUFϨδελ͔ΒషΓ෇͚

    w 1QBTUFϨδελ͔ΒΧʔιϧલʹషΓ෇͚ w YΧʔιϧͷจࣈΛ࡟আ w 9ΧʔιϧͷલͷจࣈΛ࡟আ w TTVCTUJUVUFΧʔιϧԼͷจࣈΛ࡟আͯ͠ૠೖϞʔυʹ w 44VCTUJUVUFߦΛ࡟আͯ͠ૠೖϞʔυʹ w SSFQMBDFจࣈΛஔ͖׵͑ w 33FQMBDF୯ޠΛஔ͖׵͑
  12. 0QFSBUPS w ૢ࡞ 0QFSBUJPO ͷछผ w E EFMFUF  w

    Z ZVOL  w D DIBOHF  w H6 େจࣈʹมߋ  w HV খจࣈʹมߋ  w Hd େจࣈͱখจࣈΛೖΕସ͑
  13. 0QFSBUPS w ૢ࡞ 0QFSBUJPO ͷछผ w E EFMFUF  w

    Z ZVOL  w D DIBOHF  w H6 େจࣈʹมߋ  w HV খจࣈʹมߋ  w Hd େจࣈͱখจࣈΛೖΕସ͑ 0QFSBUPSΛ܁Γฦ͢ͱߦࢤ޲ʹͳΔ EEߦ࡟আ ZZߦίϐʔ
  14. ࠓ೔͸͜Ε͚֮ͩ͑ͯؼͬͯͶ $PVOUFS .PUJPO 0QFSBUPS + + w E EFMFUF 

    w Z ZVOL  w D DIBOHF  w H6 େจࣈʹมߋ  w HV খจࣈʹมߋ  w Hd େจࣈͱখจࣈΛೖΕସ͑ w ͱ͔ͱ͔ͷ਺ w จࣈ w ୯ޠ w ߦ w ݕࡧ w ্Լ
  15. ͭ·ΓͲ͏͍͏͜ͱ͔ $PVOUFS .PUJPO 0QFSBUPS + + w E EFMFUFPQFSBUPS 

    DPVOUFS X XPSETNPUJPO  w Z ZVOLPQFSBUPS  DPVOUFS K NPUJPO
  16. ͓͠ͳ͕͖ w Ҡಈ w .PUJPO w มߋ w .PEFTͱมߋ w

    /PSNBM.PEFͰ࣮ߦͰ͖Δมߋ w 0QFSBUPS $PVOUFS .PUJPOʹΑΔมߋ w ܁Γฦ͠ w 6TF$BTF w 0QFSBUPS .PUJPO1BUUFSO w 0QFSBUPS $PVOUFS .PUJPO1BUUFSO
  17. ͓͠ͳ͕͖ w Ҡಈ w .PUJPO w มߋ w .PEFTͱมߋ w

    /PSNBM.PEFͰ࣮ߦͰ͖Δมߋ w 0QFSBUPS $PVOUFS .PUJPOʹΑΔมߋ w ܁Γฦ͠ w 6TF$BTF w 0QFSBUPS .PUJPO1BUUFSO w 0QFSBUPS $PVOUFS .PUJPO1BUUFSO
  18. 

  19. 6TF$BTF w 43&Λશ෦େจࣈʹ͍ͨ͠ https://career.quipper.com/jp/jobs/sre/ ϙδγϣϯͷັྗ ্ه͸43&ͷۀ຿ͷϙϦγʔͰ͋Γɺ୯ͳΔྫʹա͗·ͤΜɻT3Fͷ ۀ຿͸ϝϯόʔͷεΩϧ΍ڵຯʹԠͯ͡ɺͦͷൣғΛมߋ͢Δ͜ͱ͕ ՄೳͰɺαʔϏεΛ҆ఆͯ͠؅ཧͰ͖Δൣғ಺Ͱ੍ݶ͸͋Γ·ͤΜɻ ͦΕ͕2VJQQFSͷTS&ͷ࠷΋໘ന͍ͱ͜ΖͰ͢ɻݱࡏͷ؀ڥ΍νʔϜ ฤ੒ʹनΘΕͣɺඞཁʹԠͯ͡ɺΞϓϦέʔγϣϯΤϯδχΞʹࠞͬ͡

    ͯίʔυΛॻ͍ͨΓɺ$50ͱ࣍ੈ୅ͷΠϯϑϥʹ͍ͭͯޠͬͨΓɺϓ ϩτλΠϓΛࢼͨ͠Γɺ৽͍͠πʔϧ΍ϛυϧ΢ΣΞͷݕূΛͨ͠Γ Ͱ͖·͢ɻ2VJQQFSͷTSFͱͯ͠ɺαΠτͷ҆ఆੑͱ͋ͳͨͷٕज़తڵ ຯΛ྆ํຬͨͯ͠Έ·ͤΜ͔ʁ w GT࣍ͷTʹҠಈ w H6Xେจࣈ PQFSBUPS  X NPUJPO