dfaas

Decentralized FaaS platform

View on GitHub

Emulator

We emulate edge scenarios with multiple nodes by using Containernet.

Setup

Requirements

For Docker CE, Docker Compose and Sysbox CE you can look at the README in the project root..

Installation methods

Install using the convenience script

./install.sh

Manual

Install Containernet v3.1

sudo apt-get install ansible git
git clone --branch v3.1 https://github.com/containernet/containernet.git
#  We opened a pull request (#243) to make this edit available directly from upstream. See the PR for further details.
cp hack/node.py containernet/mininet/node.py
sudo ansible-playbook -i "localhost," -c local containernet/ansible/install.yml

Install Python packages

sudo pip3 install -r requirements.txt

Examples

See example.py