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

Read code together

Read code together

Masafumi Okura

June 26, 2021
Tweet

More Decks by Masafumi Okura

Other Decks in Programming

Transcript

  1. ίʔυϦʔσΟϯάͷεεϝ
    kawasaki.rb #097 9೥໨ಥೖLTେձ (ΦϯϥΠϯ)
    େ૔խ࢙, 2021-06-26

    View full-size slide

  2. ͸͡Ί·ͯ͠ʂ
    Kawasaki.rb 9೥໨
    ͓ΊͰͱ͏͍͟͝·͢ʙ

    View full-size slide

  3. ࣗݾ঺հ
    • ໊લɿେ૔խ࢙
    • ॴଐɿϑϦʔϥϯε
    • ՝֎׆ಈɿKaigi on Rails, Grow.rb, Entaku.rb, Tama.rbͳͲͷΦʔΨφ
    ΠβʔɺOSSʢࣗ࡞ͷJSONγϦΞϥΠβͰ͋ΔAlba΍RailsͳͲʣ
    • ࠷ۙɿRubyRoguesʢւ֎ϙουΩϟετʣʹग़ԋͨ͠Γɺ
    RubyKaigiʹϓϩϙʔβϧΛग़ͨ͠Γ

    View full-size slide

  4. ίʔυϦʔσΟϯά

    View full-size slide

  5. ίʔυϦʔσΟϯάʹ͍ͭͯ
    • جຊతʹ͸ଞਓͷίʔυΛಡΉͷ͸େม͚ͩͲָ͍͠
    • 500ߦఔ౓ͷίʔυͰ΋Կ͔͠Β஌Βͳ͍͜ͱ͕͋Δ
    • ҰਓͰಡΜͰ͍Δͱ࠳ં͕ͪ͠
    • ίʔυϦʔσΟϯάͯ͠΋͙͢ʹٕज़ྗ্͕͕ͬͨΓ͢ΔΘ͚Ͱ͸
    ͳ͍ͷͰ…

    View full-size slide

  6. Tama.rb OSSίʔυϦʔσΟϯά෦ʹ͍ͭͯ
    • ͍͍ͩͨຖ݄։࠵ʢ༵೔ͳͲ͸ෆఆʣɺ1ճ2࣌ؒ
    • ࢀՃਓ਺͸ଟͯ͘15ਓ͘Β͍
    • ͜Ε·ͰʹWEBrick, Parallel, Net::HTTP, CubaΛಡΜͰ͖ͨ
    • ओ࠵ऀͷڵຯʹΑΓWebʢRackʣؔ܎͕ଟ͍

    View full-size slide

  7. ෳ਺ਓͰͷίʔυϦʔσΟϯάʹ͍ͭͯ
    • ٧·ͬͨͱ͖ʹ͙͢ղফͰ͖Δ
    • ҰਓͩͱɺҰ౓٧·Δͱಈ͚ͳ͘ͳΓ͕ͪ
    • ଞਓͷ஌ݟ΍ܦݧ͕ڞ༗͞ΕΔͱίʔυͷಡΈํ͕มΘΔ
    • ϫΠϫΠ͢Δͷָ͍͠

    View full-size slide