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

あなたってどんな方(型)?/ kamakura.go#4

あなたってどんな方(型)?/ kamakura.go#4

kamakura.go#4の発表資料

Konboi

May 25, 2018
Tweet

More Decks by Konboi

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ • ໼ਧྒྷհ a.k.a ˏKonboi • ໘ന๏ਓΧϠοΫ • SGࣄۀ෦ •

    αʔόʔαΠυΤϯδχΞ/
 ΤϯδχΞϦϯάϚωʔδϟʔ • Go/Perl/AWS
  2. δϣϒΩϡʔ • ඇಉظʹॲཧΛߦ͍͍ͨ • ϩδοΫͷॲཧΛ෼͚͍ͨ • ex) • Ϣʔβʔొ࿥ޙϝʔϧΛૹΔ •

    ΫΤετΫϦΞ࣌ͷΫΤετΫϦΞνϟϨϯδͷୡ੒ • ϑϨϯυΛΫΤετʹ࿈Εͯߦͬͨ࣌ʹ
 ϑϨϯυ΁ϙΠϯτ෇༩
  3. Amazon SQS • Simple Queue Service ͷུ • ϚωʔδυͷΩϡʔΠϯάαʔϏε •

    ඪ४ΩϡʔͱFIFO(First In First Out)Ωϡʔͷ2ͭ • ͨͩ͠ɺFIFO͸౦ژϦʔδϣϯະରԠ
  4. Amazon SQSΛ࢖͏ཧ༝ • ϑϧϚωʔδυ • ؅ཧίετμ΢ϯ • ଞͷϓϩδΣΫτͰ࠾༻ࡁΈ • ͨͩ͠

    • SQSಠࣗͷΫηΛߟྀ͢Δඞཁ͕͋Δ • ࠓճ͸͜ͷ෦෼͸࿩͞ͳ͍ͷͰڵຯ͋Δਓ͸
 ࠙਌ձͰ
  5. GoͷϓϩδΣΫτ • ొ৔ਓ෺ • Job • ඇಉظʹ࣮ߦ͍ͨ͠ॲཧ • Queue •

    JobΛग़͠ೖΕ͢Δ౔؅ͷΠϝʔδ • JobQueue • JobΛQueue͔ΒऔΓग़࣮ͯ͠ߦ͢Δ
  6. Q&A