{"id":13769474,"url":"https://github.com/edgerun/faas-sim","last_synced_at":"2026-01-07T18:53:17.158Z","repository":{"id":37217545,"uuid":"270734151","full_name":"edgerun/faas-sim","owner":"edgerun","description":"A framework for trace-driven simulation of serverless Function-as-a-Service platforms","archived":false,"fork":false,"pushed_at":"2025-01-30T18:44:57.000Z","size":10707,"stargazers_count":68,"open_issues_count":8,"forks_count":19,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T19:38:11.990Z","etag":null,"topics":["edge-computing","python","serverless-computing","simpy","simulation"],"latest_commit_sha":null,"homepage":"https://edgerun.github.io/faas-sim/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edgerun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-08T16:07:24.000Z","updated_at":"2024-12-21T15:15:49.000Z","dependencies_parsed_at":"2023-11-06T11:25:47.302Z","dependency_job_id":"ee8ed366-14ba-421b-908d-c3309d735e7b","html_url":"https://github.com/edgerun/faas-sim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgerun%2Ffaas-sim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgerun%2Ffaas-sim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgerun%2Ffaas-sim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgerun%2Ffaas-sim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgerun","download_url":"https://codeload.github.com/edgerun/faas-sim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253507141,"owners_count":21919158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["edge-computing","python","serverless-computing","simpy","simulation"],"created_at":"2024-08-03T17:00:26.701Z","updated_at":"2026-01-07T18:53:17.111Z","avatar_url":"https://github.com/edgerun.png","language":"Python","readme":"faas-sim: A trace-driven Function-as-a-Service simulator\n========================================================\n\nFaas-sim is a powerful trace-driven simulation framework to simulate container-based function-as-a-service platforms.\nIt can be used to develop, and evaluate the performance of operational strategies for such systems, like scheduling, autoscaling, load balancing, and others.\nfaas-sim was developed at the [Distributed Systems Group](https://dsg.tuwien.ac.at) at TU Wien as part of a larger research effort surrounding serverless edge computing systems.\n\nHigh-level architecture\n-----------------------\n\nfaas-sim is based on the [SimPy](https://simpy.readthedocs.io) discrete-event simulation framework.\nIt uses [Ether](https://github.com/edgerun/ether) as network simulation layer, and to create cluster configurations and network topologies.\nBy default, it uses the [Skippy](https://github.com/edgerun/skippy-core) scheduling system for resource scheduling,\nbut schedulers, autoscalers, and load-balancers can be plugged in by the user.\nfaas-sim is trace-driven, and relies on profiling data from workloads and devices to simulate function execution.\nIt comes pre-packaged with traces from several common computing devices and representative cluster workloads.\nThe following figure shows a high-level overview:\n\n\u003cimg alt=\"architecture-overview\" width=\"700px\" src=\"https://raw.github.com/edgerun/faas-sim/master/doc/figures/architecture-overview.png\"\u003e\n\nRun examples\n------------\n\nYou can run the examples we provide in https://github.com/edgerun/faas-sim/tree/master/examples by first creating a virtual environment and installing the necessary dependencies.\n\n    make venv\n    source .venv/bin/activate\n    python -m examples.\u003cexample\u003e.main\n\nWhere example refers to the specific example package.\nCheck out the examples [README](https://github.com/edgerun/faas-sim/tree/master/examples/README.md) for more information.\n\nRun notebooks\n-------------\n\nNotebooks are located in `notebooks`.\nYou need to install `faas-sim` in editable state to run the notebooks.\nInside `notebooks` import modules from `sim`.\n\nTo install the project (assuming you already created and activated a virtual environment via `make venv`):\n\n      pip install -e .\n      jupyter notebook\n\nDocumentation\n-------------\n\nYou can find the documentation at https://edgerun.github.io/faas-sim/\n\nMaintainers\n------------\n\n* [Thomas Rausch](https://github.com/thrau)\n* [Philipp Raith](https://github.com/phip123)\n\nDevelopment\n-----------\n\nThe simulator has seen a major refactoring in the branch `/feature/adapt-to-galileo-faas` and aims to be compatible with the other galileo projects.\nOnly this branch is in active development.\n\nRelated publications\n--------------------\n\n1. Raith, P., Rausch, T., Furutanpey, A., \u0026 Dustdar, S. (2023).\n   **faas‐sim: A trace‐driven simulation framework for serverless edge computing platforms.**\n   In *Software: Practice and Experience*. Wiley Online Library.\n   [[Paper](https://onlinelibrary.wiley.com/doi/pdf/10.1002/spe.3277)]\n1. Raith, P. (2021)\n   Container Scheduling on Heterogeneous Clusters using Machine Learning-based Workload Characterization.\n   *Diploma Thesis*. TU Wien.\n   [[Thesis](https://repositum.tuwien.at/handle/20.500.12708/16871)]\n1. Rausch, T., Lachner, C., Frangoudis, P. A., Raith, P., \u0026 Dustdar, S. (2020).\n   Synthesizing Plausible Infrastructure Configurations for Evaluating Edge Computing Systems.\n   In *3rd USENIX Workshop on Hot Topics in Edge Computing (HotEdge 20)*. USENIX Association.\n   [[Paper](https://www.usenix.org/conference/hotedge20/presentation/rausch)]\n1. Rausch, T., Rashed, A., \u0026 Dustdar, S. (2020)\n   Optimized container scheduling for data-intensive serverless edge computing.\n   In *Future Generation Computer Systems.*.\n   [[Paper](https://www.sciencedirect.com/science/article/pii/S0167739X2030399X)]\n1. Rashed, A. (2020)\n   Optimized Container Scheduling for Serverless Edge Computing.\n   *Diploma Thesis*. TU Wien.\n   [[Thesis](http://repositum.tuwien.ac.at/obvutwhs/content/titleinfo/4671607)]\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgerun%2Ffaas-sim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgerun%2Ffaas-sim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgerun%2Ffaas-sim/lists"}