PerfSim: a performance simulator for cloud native microservice chains

Michel Gokan Khan, Javid Taheri, Auday Al-Dulaimy, Andreas Kassler

Research output: Contribution to journalArticlepeer-review

15 Citations (Scopus)
14 Downloads (Pure)

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. 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.

Original languageEnglish
Pages (from-to)1395 - 1413
JournalIEEE Transactions on Cloud Computing
Volume11
Issue number2
Early online date15 Dec 2021
DOIs
Publication statusPublished - 01 Apr 2023
Externally publishedYes

Bibliographical note

Publisher Copyright:
Author

Keywords

  • Cloud computing
  • cloud native computing
  • Computational modeling
  • Containers
  • Emulation
  • Microservice architectures
  • performance modeling
  • performance simulator
  • Resource management
  • service chains
  • simulation platform
  • Testing

ASJC Scopus subject areas

  • Software
  • Information Systems
  • Hardware and Architecture
  • Computer Science Applications
  • Computer Networks and Communications

Fingerprint

Dive into the research topics of 'PerfSim: a performance simulator for cloud native microservice chains'. Together they form a unique fingerprint.

Cite this