PerfSim: A Performance Simulator for Cloud Native Microservice Chains

Michel Gokan Khan, Javid Taheri, Auday Al-Dulaimy, Andreas Kassler
3/16/2021
cs.DCcs.PF

Official code: michelgokan/perfsim (4 stars, Python, GPL-2.0, last commit 2025-06-10).

Abstract

Cloud native computing paradigm allows microservice-based applications to take advantage of cloud infrastructure in a scalable, reusable, and interoperable way. However, in a cloud native system, the vast number of configuration parameters and highly granular resource allocation policies can significantly impact the performance and deployment cost.

Show full abstract

For understanding and analyzing these implications in an easy, quick, and cost-effective way, we present PerfSim, a discrete-event simulator for approximating and predicting the performance of cloud native service chains in user-defined scenarios. To this end, we proposed a systematic approach for modeling the performance of microservices endpoint functions by collecting and analyzing their performance and network traces. With a combination of the extracted models and user-defined scenarios, PerfSim can then simulate the performance behavior of all services over a given period and provide an approximation for system KPIs, such as requests' average response time. Using the processing power of a single laptop, we evaluated both simulation accuracy and speed of PerfSim in 104 prevalent scenarios and compared the simulation results with the identical deployment in a real Kubernetes cluster. We achieved ~81-99% simulation accuracy in approximating the average response time of incoming requests and ~16-1200 times speed-up factor for the simulation.

View on arXivView PDF

Code Implementations(1)

GPL-2.0

A discrete-event simulator and digital twinning platform for cloud native service chains

41Python, RJun 3, 20241 years agoGPL-2.0
cloudcloud-computingcloud-nativecloudcomputingcloudnative+7 more

Similar Papers

Cite this paper

@article{khan2021perfsim,
  title  = {PerfSim: A Performance Simulator for Cloud Native Microservice Chains},
  author = {Michel Gokan Khan and Javid Taheri and Auday Al-Dulaimy and Andreas Kassler},
  year   = {2021},
  eprint = {2103.08983},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.08983}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.08983.svg)](https://codeofpaper.com/paper/2103.08983)

Discussion