Digital Twinning for Microservice Architectures

Arpitha Raghunandan, Deepti Kalasapura, Matthew Caesar

Research output: Chapter in Book/Report/Conference proceedingConference contribution


Digital twins have been designed and implemented for diverse applications like smart manufacturing, healthcare, supply chain and retail management. They provide monitoring, remote prognostics and health management capabilities for the various physical assets used in these domains. Many of these capabilities would be beneficial to microservice architectures as well, given the need for lightweight monitoring solutions in multitenant environments. In particular, twins can provide operators with real-time resource usage metrics which help with operational objectives such as resource planning, anomaly detection, rewind and replay and so on. In this work, we propose a design for building digital twins for microservice architectures. As a proof of concept, we focus on modelling the resource utilization as that is a key requirement for monitoring system reliability and security. In general, digital twins require a real world counterpart, a virtual model and a mechanism for consistently keeping both synchronized. We focus on the two latter aspects of the digital twin. Our approach involves converting a formal model of a microservice architecture into a digital twin that can capture and execute an actual cluster's state. We present an extensible architecture connecting the various components of the system and the twin and evaluate the twin's ability to capture the real-time state of a real Kubernetes cluster. We also discuss future extensions which can enhance the system's security by detecting a broad range of attacks.

Original languageEnglish (US)
Title of host publicationICC 2023 - IEEE International Conference on Communications
Subtitle of host publicationSustainable Communications for Renaissance
EditorsMichele Zorzi, Meixia Tao, Walid Saad
PublisherInstitute of Electrical and Electronics Engineers Inc.
Number of pages6
ISBN (Electronic)9781538674628
StatePublished - 2023
Externally publishedYes
Event2023 IEEE International Conference on Communications, ICC 2023 - Rome, Italy
Duration: May 28 2023Jun 1 2023

Publication series

NameIEEE International Conference on Communications
ISSN (Print)1550-3607


Conference2023 IEEE International Conference on Communications, ICC 2023


  • Kubernetes
  • anomaly detection
  • digital twin
  • microservices
  • monitoring
  • reliability
  • resource utilization
  • security

ASJC Scopus subject areas

  • Computer Networks and Communications
  • Electrical and Electronic Engineering


Dive into the research topics of 'Digital Twinning for Microservice Architectures'. Together they form a unique fingerprint.

Cite this