$30 off During Our Annual Pro Sale. View Details »

先取りKtor2.0

doyaaaaaken
February 06, 2022

 先取りKtor2.0

ServerSide Kotlin Meetup vol.1にて発表

doyaaaaaken

February 06, 2022
Tweet

More Decks by doyaaaaaken

Other Decks in Programming

Transcript

  1. !4FSWFS4JEF,PUMJO.FFUVQWPM খࢁ݈ଠ ,PZBNB,FOUB !EPZBBBBBLFO ઌऔΓ,UPS 

  2. ࣗݾ঺հ w ࢓ࣄ w גࣜձࣾTNBSUSPVOE$50૑ۀϝϯόʔ w αʔόαΠυ,PUMJOʢ,UPSʣɾ7VF+4Λࠓ͸Α͘ॻ͍͍ͯ·͢ w ,PUMJOྺ͸೥͘Β͍ w

    044׆ಈ w LPUMJODTWͷ࡞ऀʢ⭐PWFSʣ w ,UPSɾ&YQPTFEɾLPUFTU౳΁ͷίϯτϦϏϡʔτ w ,UPSυΩϡϝϯτͷ೔ຊޠ຋༁΋ੲͯ͠·ͨ͠ʢ%FQSFDBUFEͰ͕͢ʣ  @doyaaaaaken
  3. ,UPSͱ͸ +FUSBJOT͕։ൃͨ͠8FCϑϨʔϜϫʔΫ w όʔδϣϯCFUBʢ࣌఺ʣ w ,PUMJO.VMUJQMBUGPSNରԠ w ϚΠΫϩϑϨʔϜϫʔΫ w ϑϧελοΫϑϨʔϜϫʔΫͰ͋Δ4QSJOH#PPUͱ͸ର৅త

    w /PEFKTͷ&YQSFTTKTʹ͔ͳΓࣅͯΔ 
  4. ͜Μͳײ͡ͷίʔυͰ͢ γϯϓϧʹϧʔςΟϯάఆ͕ٛॻ͚Δ 

  5. ࠓ೔ͷຊ୊ ΋͏͙͢W͕ϦϦʔε͞ΕΔͷͰΞοϓσʔτʹ͍ͭͯڞ༗ w ৘ใιʔε w +FU#SBJOTެࣜͷ:PV5VCFಈը 
 IUUQTXXXZPVUVCFDPNXBUDI WNZF/KWY746BC@DIBOOFM,PUMJOCZ+FU#SBJOT w

    ؆ུʹ·ͱ·ͬͨϒϩά 
 IUUQTNFEJVNDPNCBDLZBSEQSPHSBNNFSTXIBUTOFXJOLUPSCBECD 
  6. WͷҐஔ͚ͮ Wʹ͓͚Δཧ૝తͰͳ͍ܾఆΛഁյతมߋΛ൐͍ͭͭमਖ਼ w ݁࿦ɺ௒େ͖ͳΞοϓσʔτ͸ແ͍ w ʰকདྷͷͨΊͷجૅݻΊʱతͳҐஔ͚ͮͷϦϦʔε w Ϟδϡʔϧ΍ύοέʔδߏ଄ΛϦϑΝΫλ w υΩϡϝϯτͷ੔උ

    w 1MVHJOػೳʢچ'FBUVSFػೳʣʹΑΓ֦ுੑΛߴΊΔ w .VMUJQMBUGPSNରԠͷൣғ֦େ 
  7. ྫɿύοέʔδ໊ͷมߋ lJPLUPSTFSWFSz lJPLUPSDMJFOUz zڞ༗ͷ΋ͷzʹେ͖͘෼͔ΕΔ  ˞ҠߦΛࣗಈͰߦ͏πʔϧ͸*OUFMMJ+͔Β΋ఏڙ͞ΕΔΑ͏Ͱ͢

  8. େ͖ͳΞοϓσʔτ Ϣʔβʹͱͬͯͷେ͖ͳΞοϓσʔτ͸ҎԼ͙Β͍  z'FBUVSFzػೳ͕z1MVHJOzػೳʹݺͼ໊͕มΘͬͨ w ΠϯλʔϑΣʔε͕ΊͬͪΌγϯϓϧʹ w ϢʔβଆͰ֦ு͠΍͘͢ͳͬͨ  ,UPS4FSWFS͕,PUMJO/BUJWFʹରԠ

    w ͜ΕʹΑΓ(SBBM7.্ͰىಈՄೳʹ w ͳ͓$MJFOUͷ΄͏͸ݩ͔Β/BUJWF +BWB4DSJQUʹରԠ͍ͯ͠Δ 
  9. 1MVHJOػೳʹ͍ͭͯ  ,UPSʹ͓͍ͯ͸3PVUJOHؚΊ͢΂ͯΛ1MVHJOͱͯ͠ఏڙ͢Δ  l*O,UPS FWFSZUIJOHJTBQMVHJOz CZ)BEJ)BSJSJ

  10. 1MVHJOػೳʹ͍ͭͯ  1MVHJO͸/FUXPSL*0ʹ͓͚Δ*OUFSDFQUPSͱͯ͠ಇ͘ 

  11. 1MVHJOػೳʹ͍ͭͯ  WͰ͸1MVHJOʢ'FBUVSFʣػೳ͸ҎԼͷ"1* 

  12. 1MVHJOػೳʹ͍ͭͯ  WͰ͸1MVHJO͸γϯϓϧͳ"1*ʹͳΓϢʔβ͕֦ு͠΍͘͢ͳͬͨ  ˞ΞϓϦέʔγϣϯશମʹ࡞༻͢ΔlDSFBUF"QQMJDBUJPO1MVHJO zϝιουͷଞɺ 
 ಛఆͷϧʔτʹରͯ͠ͷΈ࡞༻͢ΔzDSFBUF3PVUF4DPQF1MVHJO zϝιου΋ଘࡏ͢Δ

  13. 1MVHJOػೳʹ͍ͭͯ  SEQBSUZʢ։ൃऀࣗ࡞ʣ1MVHJOΛར༻Ͱ͖ΔϚʔέοτϓϨʔεͷ 
 ߏ૝͕͋Δ  IUUQTTUBSULUPSJP

  14. ͦͷଞࡉ͔ͳΞοϓσʔτ܈ w 4FSWFS w 3BOEPN1PSUɿϥϯμϜͳϙʔτ൪߸Ͱىಈ w 9.-γϦΞϥΠζͷαϙʔτ w ʜFUD w

    $MJFOU w ϦτϥΠͷαϙʔτ w .FUSJDTϓϥάΠϯ w 9.-γϦΞϥΠζͷαϙʔτ w ʜFUD 
  15. ձࣾએ఻ 

  16. TNBSUSPVOEͱ͸ ελʔτΞοϓ ͕ࣾొ࿥͢ΔϓϥοτϑΥʔϜܕ4BB4Ͱ͢ w اۀӡӦ͢Δ্Ͱͷඞਢͷࣄ຿࡞ۀΛαϙʔτʢגओ໊฽؅ཧɾגओ૯ձɾܦӦ؅ཧʜFUDʣ w ؆୯ʹσʔλ࡞੒ɾ؅ཧ͠ɺגओͱڞ༗Ͱ͖Δ*3ϓϥοτϑΥʔϜ  ˞·ͣ͸ΧδϡΞϧ໘ஊ͔Βʂ5XJUUFS%.ɾ8BOUFEMZͳͲ͔Β͓ؾܰʹ͝࿈བྷ͍ͩ͘͞ɻ

  17.  ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ @doyaaaaaken