Slide 1

Slide 1 text

Edge Computing for the WebApp ragingwind

Slide 2

Slide 2 text

Edge Computing

Slide 3

Slide 3 text

History of Computing

Slide 4

Slide 4 text

Mainframe 
 computing - 1960 ~ 1970 - Large, monolithic systems - Physical datacenter on-site - Serving via terminals

Slide 5

Slide 5 text

Server / Client 
 computing - 1980 ~ 1990 - Primary datacenter for large project and data storage - Working on the network for multiple client connections - Serving via local computer

Slide 6

Slide 6 text

Cloud 
 computing is - 2000 ~ 2010 - Data centers as public cloud platform not on-site - All of the processing and storage happening o ff site in the cloud - Running many of services, Infra, Services, Containers, Workers, Functions ... - AWS, GCP, Azure, ...

Slide 7

Slide 7 text

Edge Computing Today

Slide 8

Slide 8 text

Edge Computing - Ultra-low latency and decrease in bandwidth use - Decrease in server resources - Functionality not only static resources - Mobile, IoT, Apps need for speed

Slide 9

Slide 9 text

Edge Computing for the WebApp

Slide 10

Slide 10 text

Edge Computing for the WebApp https://vercel.com/blog/regional-execution-for-ultra-low-latency-rendering-at-the-edge

Slide 11

Slide 11 text

https://vercel.com/blog/regional-execution-for-ultra-low-latency-rendering-at-the-edge

Slide 12

Slide 12 text

https://www.prisma.io/blog/database-access-on-the-edge-8F0t1s1BqOJE Database access on the Edge

Slide 13

Slide 13 text

Kelsey Hightower 'You can host not just images but logic and run it safely on the Edge, like why now ?'

Slide 14

Slide 14 text

Innovations for the Edge - Process Isolation - Optimized minimalistic code - HTTP default protocol

Slide 15

Slide 15 text

Process Isolation - Next process model after container, worker on cloud - Running in sandbox, isolated and stateless - Starting up really fast - Executing optimized minimalistic code - V8 Isolates(Vercel, Deno, Cloud f lare), microVMs(AWS f irecracker), WASI(WebAssembly) gVisor, OSv

Slide 16

Slide 16 text

https://aws.amazon.com/blogs/aws/ f irecracker-lightweight-virtualization-for-serverless-computing/

Slide 17

Slide 17 text

https://developers.cloud f lare.com/workers/learning/how-workers-works/

Slide 18

Slide 18 text

https://deno.com/blog/anatomy-isolate-cloud

Slide 19

Slide 19 text

https://blog.jdriven.com/2022/08/wasi-capability-based-networking/

Slide 20

Slide 20 text

Optimized Minimalistic Code - Generate highly optimized machine code - low-level incremental computation engine for individual functions

Slide 21

Slide 21 text

https://turbo.build/pack

Slide 22

Slide 22 text

HTTP Default Protocol - `Web is becoming the computer then the concept of http being the most dominant protocol` - Kelsey Hightower - 0-RTT(Zero Round Trip Time) via TLS 1.3 or QUIC - HTTP/3 powered by `UDP`

Slide 23

Slide 23 text

HTTP/3 powered by `UDP` https://blog.cloud f lare.com/the-road-to-quic/

Slide 24

Slide 24 text

Edge Computing for WebApp - Using functions on the Edge as like local package - Using server resources on the cache of Edge as like local f iles - WebApp/Functions can be served in compact size as much as decreased - Bring computing power from outside Browsers in a second - Centralized WebApp can be running close to users - ...

Slide 25

Slide 25 text

Chronology of the WebApp

Slide 26

Slide 26 text

Image converting WebApp

Slide 27

Slide 27 text

WAS on Bare-Metal - Using computing power of dedicated physical server - Physical distance and count are matter

Slide 28

Slide 28 text

VMs on Cloud - Using computing power of multiple instances in a physical - Scale-up and down instantly - Physical distance is still matter but not count

Slide 29

Slide 29 text

Function / Lambda - Using computing power on centralized functions on cloud - Computing and virtualization is becoming more granular - Serverless - Physical distance is still matter but not count

Slide 30

Slide 30 text

Edge - Using computing power on decentralized compact functions on each Edges - Ultra-low latency to function and resources - Physical distance and count doesn't matter