Serverless Rust
by
fnwiya
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Serverless Rust
Slide 2
Slide 2 text
ࣗݾհ • @fnwiya • Japan Venture Research Co., LTD. (ex-FORCIA, Inc.)
Slide 3
Slide 3 text
Serverless • ৗ࣌ىಈ͍ͯ͠Δαʔό(server)͕ͳ͍(less) • ίϯςφٕज़ʹΑΔϞμϯͳCGI • FaaS
Slide 4
Slide 4 text
Serverless • Pros • αʔόΛཧ͠ͳ͍͍ͯ͘ • ແݶεέʔϧ
Slide 5
Slide 5 text
Serverless • Cons • ݺͼग़͠ͷ੍(ϝϞϦ/࣮ߦ࣌ؒ) • ίʔϧυελʔτ • (ྑ͘ѱ͘)εςʔτϨε
Slide 6
Slide 6 text
"[VSF 'VODUJPOT "84 -BNEB $MPVE 'VODUJPOT /PEFKT 㾎 㾎 㾎 1ZUIPO 㾎 㾎 +BWB 㾎 㾎 (P 㾎 $ 㾎 㾎 FaaSͷݴޠରԠঢ়گ(2018.11ݱࡏ)
Slide 7
Slide 7 text
"[VSF 'VODUJPOT "84 -BNEB $MPVE 'VODUJPOT /PEFKT 㾎 㾎 㾎 1ZUIPO 㾎 㾎 +BWB 㾎 㾎 (P 㾎 $ 㾎 㾎 XBTN 㾎 㾎 FaaSͷݴޠରԠঢ়گ(2018.11ݱࡏ)
Slide 8
Slide 8 text
wasm͕ಈ͘ ↓ RustͰॻ͚Δʂʂ
Slide 9
Slide 9 text
αϯϓϧ • Hello world https://github.com/fnwiya/serverless_wasm_example
Slide 10
Slide 10 text
wasm-bindgenͰ rustͷίʔυΛwasmԽ https://github.com/rustwasm/wasm-bindgen/
Slide 11
Slide 11 text
wasmΛjs͔Βݺͼग़͢
Slide 12
Slide 12 text
࠷ޙʹ • wasmʹ͔ͬΔ͜ͱͰFaaSͰRust͕ಈ͘ • Safe & Fastʹॻ͚ΔͷͰRustͰॻ͘ͷ Αͦ͞͏ • eWASM / WebAssembly on Cloudflare WorkersͳͲwasm͕͍
Slide 13
Slide 13 text
I think the most valid reason for using Rust within lambda functions is that Rust developers will want to! https://blog.scottlogic.com/2018/10/18/serverless-rust.html