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

Cloudflare Workersの環境を再現することについて

Yusuke Wada
February 26, 2024

Cloudflare Workersの環境を再現することについて

Workers Tech Talks in Osaka #1
Feb 26, 2024. Yusuke Wada

Yusuke Wada

February 26, 2024
Tweet

More Decks by Yusuke Wada

Other Decks in Programming

Transcript

  1. ࣗݾ঺հ w :VTVLF8BEB w 8FCGSBNFXPSLEFWFMPQFS w %FWFMPQFS"EWPDBUF!$MPVE fl BSF w

    #PLFUFDPGPVOEFS w $SFBUPSPG)POP w IUUQTHJUIVCDPNZVTVLFCF
  2. )POPͱ͸ʁ w ͲΜͳ+BWB4DSJQUͷϥϯλΠϜͰ΋ಈ͘8FCϑϨʔϜϫʔΫ w 'BTU -JHIUXFJHIU 8FCTUBOEBSET w 8PSLTPOʜ w

    $MPVE fl BSF8PSLFST1BHFT w %FOP w #VO w /PEFKT w 'BTUMZ$PNQVUF w "84-BNCEB w 7FSDFM w 0UIFST IUUQTIPOPEFW
  3. $MPVEGMBSFͷ؀ڥͱ͸ʁ w ϥϯλΠϜ w ❌/PEFKTɺ/PEFKTͷ"1*Ͱಈ͔ͳ͍΋ͷ͕͋Δ w ͭ·ΓXPSLFSE w FWBMOFX'VODUJPO͕Ͱ͖ͳ͍ w

    #JOEJOHT w ADUYAXBJU6OUJMQBTT5ISPVHI0O&YDFQUJPO w 3FRVFTUDGϓϩύςΟ w 63-1BUUFSOɺDBDIFTͳͲ/PEFKTʹ͸ͳ͍"1*
  4. આ໌ʹΑΔͱ w $MPVE fl BSFͷXPSLFSE͸7JUFͷ/PEFKTͱ׬શʹ੾Γ཭͞Ε͍ͯͨ w 3FNJY͸ϓϥάΠϯͰ$MPVE fl BSF1BHFTαϙʔτΛ͢Δ w

    8SBOHMFSͷ/PEFKTͱXPSLFSEΛϓϩΩγ͢Δػೳ HFU1MBUGPSN1SPYZ Λ࢖ ͏ w ݱࡏ΋$MPVE fl BSFνʔϜͱ࿈ܞͯ͠࠷ߴͷମݧΛ3FNJYϢʔβʔʹಧ͚Δ౒ ྗΛ͍ͯ͠Δ w ͍ۙকདྷɺ7JUFͷ৽͍͠ ࣮ݧతͳ 3VOUJNF"1*Λ࢖ͬͯΑΓγʔϜϨεʹ౷ ߹ͤ͞Δ͜ͱΛߟ͍͑ͯΔ
  5. ·ͱΊ w $MPVE fl BSFͷ؀ڥΛ࠶ݱ͢Δ͜ͱʹ͍ͭͯ w $MPVE fl BSFಛ༗ͷͭͷϓϩύςΟͱϥϯλΠϜ͕࢖͑Ε͹͍͍ w

    8SBOHMFSͷHFU1MBUGPSN1SPYZͱ7JUFͷ3VOUJNF"1*͕ܹΞπ w ςετ΋Ͱ͖ΔΑ͏ʹͳ͍ͬͯΔ w $MPVE fl BSFνʔϜɺ7JUFνʔϜɺ֤ϑϨʔϜϫʔΫ͕ؤு͍ͬͯΔʂ