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

GunosyでのMicroservicesの現状とGoの使いどころ

 GunosyでのMicroservicesの現状とGoの使いどころ

Gunosy.go#11での発表資料

y_matsuwitter

March 11, 2015
Tweet

More Decks by y_matsuwitter

Other Decks in Programming

Transcript

  1. APIαʔόɺ࢖͍ͬͯΔ΋ͷ • Kami ... WebFramework • mogi ... SQL stub

    Ϟσϧ૚ͳͲΛڞ༗ύοέʔδʹ੾Γग़͠ɺ࢖͍·Θ͢
  2. όονॲཧ w/ Go • Go͸ฐࣾͷόονॲཧʹ͸ࠓͷͱ͜Ζ΄΅ར༻͞Εͣ • େ൒͸Python • ෳ਺αʔόʹ·͕ͨΔ΋ͷ͸Python +

    Celery • APIͱͷڞ௨ॲཧ͕͋Γɺ1ΠϯελϯεͰࡁΉॲཧͷΈGo • ʢCacheσʔλͷੜ੒ͳͲʣ
  3. σϓϩΠ w/ Go • go build͠ɺOpsworksʹΑΓඞཁͳϑΝΠϧ܈ΛS3ܦ༝Ͱ ͹Β·͘ • Capistranoͷ΍Γํʹ͍ۙσϓϩΠϑϩʔ /path/to/service

    ├── shared │ ├── logs │ ├── tmp │ └── config ├── 20150306085540 │ ├── bin │ ├── public │ └── etc... ├── 20150306090324 └── current -> /path/to/service/releases/20150306090324