Skip to content

faasm/experiment-tless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TLess Experiments

This repository hosts the experiments for the TLess project, a system design for confidential serverless workflows.

We implement TLess on top of two confidential FaaS runtimes representative of two points in the design space for confidential serverless:

  • Faasm + SGX: a port of the Faasm to run WASM sandboxes inside SGX.
  • CC-Knative: a port of the Knative runtime to run Knative services as container functions inside confidential VMs (AMD SEV).

To execute any code snippet in this repository, we will assume that you have activated your virtual environment:

source ./bin/workon.sh

Pre-requisites

Install rust and rust-analyzer. Then rustup component add rust-analyzer.

# TODO: install this in the background
sudo apt install -y \
  libfontconfig1-dev \
  libssl-dev \
  pkg-config \

Baselines

TLess currently supports being deployed on top of two serverless runtimes, Faasm and Knative.

For instructions to deploy each one of them, see:

Workflows

This repository implements four different workflows:

Progress Summary

Workflow\Baseline Faasm SGX-Faasm TLess-Faasm Knative CC-Knative TLess-Knative
FINRA
ML Training
ML Inference
Word Count

Experiments

We run the following experiments: