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

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

Gunosy.go#11での発表資料

05e8adce66be4e80390a29ace0075161?s=128

y_matsuwitter

March 11, 2015
Tweet

Transcript

  1. 12.
  2. 14.
  3. 16.
  4. 18.

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

    Ϟσϧ૚ͳͲΛڞ༗ύοέʔδʹ੾Γग़͠ɺ࢖͍·Θ͢
  5. 19.
  6. 20.
  7. 22.

    όονॲཧ w/ Go • Go͸ฐࣾͷόονॲཧʹ͸ࠓͷͱ͜Ζ΄΅ར༻͞Εͣ • େ൒͸Python • ෳ਺αʔόʹ·͕ͨΔ΋ͷ͸Python +

    Celery • APIͱͷڞ௨ॲཧ͕͋Γɺ1ΠϯελϯεͰࡁΉॲཧͷΈGo • ʢCacheσʔλͷੜ੒ͳͲʣ
  8. 23.
  9. 26.
  10. 29.

    σϓϩΠ 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