Building a 10x More Efficient Edge Platform

ScyllaDB 77 views 56 slides Jun 26, 2024
Slide 1
Slide 1 of 56
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56

About This Presentation

Painful cold boots, terrible auto-scale times, minutes-long waits for compute nodes to be up: these are standard headaches that cloud engineers have to deal with, and work-around, on a daily basis. Much of this stems from the fact that cloud infrastructure relies on technology that was never intende...


Slide Content

Unleashing 10x More Efficient Cloud Deployments with KraftCloud Felipe Huici CEO & Co-Founder at Unikraft

Felipe Huici CEO & Co-Founder at Unikraft Something cool I’ve done : building a revolutionary millisecond cloud platform 😀 My perspective on P99s : performance is fundamental! Another thing about me : from Argentina What I do away from work : sports, guitar, reading, photography

2.6GB

2.6GB

2.6GB

2.6GB 1.9MB

With Linux With Unikraft

HOW? Specialization

APP

APP

APP LIBRARIES

APP LIBRARIES OS/KERNEL

APP LIBRARIES OS/KERNEL

APP LIBRARIES OS/KERNEL SPECIALIZED VM UNIKERNEL

Unikraft Three Principles Fully Modular - allow for full specialization Linux API Compatibility - run unmodified apps and langs Tooling Integration - keep using the tools you love

Unikraft Arch

The Millisecond Cloud Platform

c Linux Host (KVM) BAREMETAL SERVER KraftCloud Arch

c Linux Host (KVM) BAREMETAL SERVER KraftCloud Arch

c Linux Host (KVM) ukp REST API BAREMETAL SERVER KraftCloud Arch

c Linux Host (KVM) ukp REST API BAREMETAL SERVER KraftCloud Arch image registry

c Linux Host (KVM) ukp u1 REST API BAREMETAL SERVER KraftCloud Arch image registry

c Linux Host (KVM) ukp u1 u2 REST API BAREMETAL SERVER KraftCloud Arch image registry

c Linux Host (KVM) ukp u1 u2 REST API u3 BAREMETAL SERVER KraftCloud Arch image registry

c Linux Host (KVM) ukp u1 u2 REST API u3 … u10k BAREMETAL SERVER KraftCloud Arch image registry

KraftCloud Differentiators Scale to zero

KraftCloud Differentiators Scale to zero Low price point

KraftCloud Differentiators Scale to zero Low price point Deploy to 70+ edge locations

KraftCloud Differentiators Scale to zero Low price point Deploy to 70+ edge locations Tiny images

KraftCloud Differentiators Scale to zero Low price point Deploy to 70+ edge locations Tiny images Death to cold boots

KraftCloud Differentiators Scale to zero Low price point Deploy to 70+ edge locations Tiny images Death to cold boots Immediate autoscale

KraftCloud Differentiators Scale to zero Low price point Deploy to 70+ edge locations Tiny images Death to cold boots Immediate autoscale Full HW-isolation, secure and minimal TCB

KraftCloud Differentiators Scale to zero Low price point Deploy to 70+ edge locations Tiny images Death to cold boots Immediate autoscale Full HW-isolation, secure and minimal TCB Reduced carbon footprint

KraftCloud in Practice Sign up for free at https://kraft.cloud/ 😀 Receive an account name and token Follow guides on https://docs.kraft.cloud/ To interact with platform: REST API kraft tool Docker integration Kubernetes integration Join our Discord servers OSS, see https://unikraft.org/ (Linux Foundation open source project) KraftCloud (for tech support, after sign up)

Performance Measurements hw specs : AMD EPYC 7402P, 24 cores @ 2.8 GHz, 64GiB memory sw specs : Host: Debian 11, Unikraft VMs with 32MiB memory

Cold Boot Times (NGINX)

Cold Boot Times vs Linux Application Unikraft Linux NGINX 4.2 ms 715 ms Redis 7.8 ms 761 ms SQLite 5.2 ms 698 ms Nodejs 47 ms 820 ms Go HTTP server 8.8 ms 688 ms VMM: Firecracker

Security - TCB Reduction (NGINX) Linux Unikraft Image Size 30.4MiB 1.9MBs/1.25 MiB (DCE) Lines of Code (kernel + app) 5,501,759 283,622 Number of Symbols 192,969 4,933

Guest Latency (Unikraft)

Throughput - Unikraft vs Linux (NGINX) Linux: Ubuntu 22.04.3 LTS (Linux 6.5 with firecracker configuration, nginx 1.18.0), VM with 1GiB memory

Max Density (NGINX Guests) hw specs : 2x Intel Xeon 6338, 64 cores @ 2.0 GHz, 1TiB memory), Unikraft VM with 12MiB memory

System Memory Consumption - NGINX Guests

45GB Image Sizes Application Docker Unikraft NGINX (v1.25.2) 29MiB 3MiB Redis (v7.2.1) 37MiB 2.8MiB SQLite (v3.42.0) 26.3MiB 3MiB

Demo https://kraft.cloud

45GB

45GB

45GB https://kraft.cloud

45GB https://kraft.cloud

Felipe Huici [email protected] @felipehuici https://unikraft.io/ Thank you! Let’s connect.
Tags