WebAssembly and Containers

  Рет қаралды 25,898

Docker

Docker

Жыл бұрын

Get familiar with WebAssembly and containers in this demo. Get started with Docker and try it for yourself → dockr.ly/3QqFtmJ
WebAssembly (Wasm) has generated buzz as the next cloud technology. In this talk, we focus on Wasm's promise and where it fits into the cloud. We conclude with examples of Docker and Wasm complementing each other.
WebAssembly is a promising technology for many reasons, including language neutrality, cross-platform/architecture support, a security sandbox, small binary sizes, and great performance. Seizing on these positives, many of us have begun developing cloud-centered Wasm tools - tools that run on the server, not in a web browser. And we've seen Wasm’s virtues come through in surprising ways. The enthusiasm toward WebAssembly is justified!
But we’ve been disappointed to see pundits and newcomers pit WebAssembly against Docker in a zero-sum game. Wasm is wrongly touted as a "replacement for Docker," when, in fact, Wasm complements Docker. It can do some things Docker can’t, but isn’t able to do many things that have long made Docker the most attractive way of developing cloud applications.
This talk introduces Wasm, focusing on its promise in cloud contexts. Then we go on to illustrate how Docker containers and the burgeoning Wasm ecosystem work together. We show examples of a microservice architecture that uses Wasm and Docker, then conclude with some speculation about what a future WebAssembly+Docker ecosystem might look like.
• Speaker:
Matt Butcher
- Find him on Twitter - / technosophos
- Find him on LinkedIn - / mattbutcher
• References :
- Play Finicky Whiskers → finickywhiskers.com
- Checkout Spin → spin.fermyon.dev
- GitHub Repository → github.com/fermyon/spin
- Follow them Fermyon on Twitter → / fermyontech
--
Join the conversation!
LinkedIn → dockr.ly/LinkedIn
Twitter → dockr.ly/Twitter
Facebook → dockr.ly/Facebook
Instagram → dockr.ly/Instagram

Пікірлер: 21
@TheDataMuseum
@TheDataMuseum Жыл бұрын
Absolute game changer! Can't believe this hasn't been talked nearly enough as it should
@karelhrkal8753
@karelhrkal8753 Жыл бұрын
7:25 "The characteristics that make it great for the browser also make it great for the cloud". Coincidence? I think not! You described cloud computing earlier as "running your code on someone else's computer securely", but that's *exactly* what a browser does. Putting JS or WASM into a webpage is, in a fact, a form of cloud computing - you are running your code on someone else's (the client's) computer.
@bjugdbjk
@bjugdbjk Жыл бұрын
Excellenet presentation, Now got the picture of Docker & Webassembly , This is like a fight between Apple Vs Microsoft in 90's ...Actually, truth is both does different things nd both needs to be there in the ecosystem serving different purpose.
@weifengmao
@weifengmao Жыл бұрын
Somehow WebAssembly makes it feel like introducing compiled language to JavaScript developer for the first time ever whereas rest of the industry's been doing for years.
@KManAbout
@KManAbout Жыл бұрын
Js developers have been doing compiling for years
@meepk633
@meepk633 Жыл бұрын
I don't know what it is, but containerization just scratches some weird itch. I love the idea of portable environments and static volumes. It almost feels transgressive lol
@RichM1967
@RichM1967 Жыл бұрын
What is the difference between wasm running in docker and a golang binary running in a scratch Docker container? I have a web server I wrote in Go in that scratch docker container with a resulting size of 7MB. This web server has served 100,000 requests and transferred 10 gigs of data in 34 seconds.
@saidinesh5
@saidinesh5 Жыл бұрын
The wasm will still have to be run by an interpreter.. which is written in probably C++ or rust or even go. So it will obviously be slower than your go lang binary running in a scratch docker container. However, if your golang binary is supposed to serve requests based on code written by someone else.. you can use a webassembly interpreter inside your golang binary and load their code compiled to wasm and make those interpreters handle the incoming requests.
@karelhrkal8753
@karelhrkal8753 Жыл бұрын
I'm interested if docker containers could run in WASM in the browser one day. That would be truly amazing.
@TheCardil
@TheCardil Жыл бұрын
Why would you like that? Browsers could run Wasm already without a Docker as middle man. Any middleman would only add overhead.
@ryanleemartin7758
@ryanleemartin7758 Жыл бұрын
You want docker containers to run in wasm in the browser? For what purpose? Isn't docker essentially isolating linux user space? It still needs a kernel to operate. Am I missing something? I'm intrigued but I don't grasp the concept
@karelhrkal8753
@karelhrkal8753 Жыл бұрын
@@ryanleemartin7758 You could run programs that can be dockerized, but that do not compile to wasm. Also, I can just grab any docker container and just run it, I don't need to get the sources, optimize them for wasm, etc etc etc. Also, file IO could be implmeneted with local storage.
@ryanleemartin7758
@ryanleemartin7758 Жыл бұрын
@@karelhrkal8753 That sounds very cool but you'd still need a linux kernel. How could that work?
@karelhrkal8753
@karelhrkal8753 Жыл бұрын
@@ryanleemartin7758 And what is Linux kernel implemented in? C, probably. And C can compile to WASM.
@alexandershemelin6605
@alexandershemelin6605 Жыл бұрын
lovely
@_dinesh
@_dinesh Жыл бұрын
Now I know how Azure container apps can scale down to zero :)
@daemond7746
@daemond7746 11 ай бұрын
nice
@edgeeffect
@edgeeffect Жыл бұрын
Good grief! Your cat is GREEDY!
@markokraljevic1590
@markokraljevic1590 Жыл бұрын
hey man, this is useless, you need to give 3 minutes high level overview with main points and not 25 minutes of useless blabbing without structure
WebAssembly (WASM) vs. Docker - Our Expert Analysis
19:53
KodeKloud
Рет қаралды 87 М.
Não sabe tomar Coca Cola 🥤
00:29
DUDU e CAROL
Рет қаралды 12 МЛН
SUPER PRAYER (all 4 shorts) Steve, Herobrine & Alex
00:27
Sam Green
Рет қаралды 13 МЛН
WASI: a New Kind of System Interface
37:12
InfoQ
Рет қаралды 18 М.
The Truth about Rust/WebAssembly Performance
29:47
Greg Johnston
Рет қаралды 164 М.
Virtualize vs. Containerize (Which should I choose?)
14:38
Techno Tim
Рет қаралды 179 М.
WebAssembly On The Server??? Why?
13:42
Code to the Moon
Рет қаралды 37 М.
What is a Content Delivery Network (CDN)?
4:36
IBM Technology
Рет қаралды 281 М.
"What can't WebAssembly do?" - Katie Bell (PyCon AU 2023)
29:03
Will Rust Beat JavaScript in 2023?
23:48
ThePrimeTime
Рет қаралды 107 М.
LOVE or MONEY? ❤️💸 (PART 14)
0:47
Alan Chikin Chow
Рет қаралды 3,5 МЛН
Черная Magic Mouse
0:53
Romancev768
Рет қаралды 807 М.
КАК ЖИВЕТ КВАНТУМ? РУМ ТУР КВАНТУМА!!!
13:51
НЕ ДАМ ЕЁ В ОБИДУ😡 #shorts
0:24
Паша Осадчий
Рет қаралды 1,6 МЛН
The Million view clip on China's Tiktok P2428 #shorts #gochannel
0:15
Go Channel TV
Рет қаралды 29 МЛН
DID YOU NOTICE ANY LAPSES IN THE VIDEO or NOT? / MARGO_FLURY
0:34
MARGO FLURY | Маргарита Дьяченкова
Рет қаралды 12 МЛН