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

pixivとThrift

 pixivとThrift

Atsushi Takayama

December 09, 2015
Tweet

More Decks by Atsushi Takayama

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ • ߴࢁ Թ @edvakf • pixivͷອըࣄۀͷ։ൃ੹೚ऀ • ීஈॻ͍ͯΔͷ͸Scala΍PHPɺͨ·ʹJS΍Ruby΍Go •

    ϦʔυΤϯδχΞ • ձࣾͷٕज़બ୒ʹ੹೚Λ࣋ͭ • ʮࣾ಺ͷΤϯδχΞ͕޾ͤʹಇͨ͘Ίʹ͸ʯΛߟ࣮͑ݱ͢Δۀ
  2. Thriftͷ࢖ΘΕํͱར఺ • ݱࡏɺ2ͭͷपลαʔϏε͔Βར༻ • ScalaͱRails • ThriftͷఆٛΛ࣋ͬͨϦϙδτϦ͸ɺcomposer.jsonͱbuild.sbtͱ gemspec͕ஔ͔Ε͍ͯΔ • HTTPͷར఺Λ׆͔ͯ͠ɺnginxͰϦόʔεϓϩΩγ

    • nginxΑΓઌ͸pixivͷී௨ͷϦΫΤετͷࡋ͔Εํͱಉ͡ • APIΛఆٛ͢Δͱ͖ʹσʔλߏ଄΍ܕ΋ؚΊ͔ͯͬ͠Γߟ͑ͯ࡞ΔͷͰɺม ͑ͨ͘ͳͬͨ͜ͱ͸ࠓͷͱ͜Ζແ͍