Skip to content

Latest commit

 

History

History

examples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Examples

This package contains examples that demonstrate various ways to work with faas-sim. Each example has a runnable main.py. You can run them from the faas-sim root directory with:

make venv
source .venv/bin/activate
python -m examples.<example>.main

Replace <example> with one of the example packages:

  • basic: set up and run a simulation
  • custom_function_sim: create a custom function simulator that models the behavior of functions
  • custom_scheduler: replace the default scheduler with a custom implementation