Vision: An Extensible Methodology for Formal Software Verification in Microservice Systems

📅 2025-09-02
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Microservice systems are prone to architectural inconsistencies due to distributed development and continuous evolution, undermining maintainability and reliability. To address this, we propose a scalable formal verification method that—uniquely—automatically generates a formal system model from static source code via program reconstruction, and uniformly verifies cross-cutting concerns (e.g., architectural consistency, security policies) using SMT-based constraint solving. Our approach integrates static code analysis with formal modeling to enable end-to-end, automated translation from source code to verifiable logical models and subsequent deductive reasoning. Experimental evaluation demonstrates that the framework efficiently detects architectural deviations; moreover, its verification infrastructure is extensible to other quality attributes—including performance, resilience, and compliance—thereby significantly enhancing trustworthiness assurance for microservice systems.

Technology Category

Application Category

📝 Abstract
Microservice systems are becoming increasingly adopted due to their scalability, decentralized development, and support for continuous integration and delivery (CI/CD). However, this decentralized development by separate teams and continuous evolution can introduce miscommunication and incompatible implementations, undermining system maintainability and reliability across aspects from security policy to system architecture. We propose a novel methodology that statically reconstructs microservice source code into a formal system model. From this model, a Satisfiability Modulo Theories (SMT) constraint set can be derived, enabling formal verification. Our methodology is extensible, supporting software verification across multiple cross-cutting concerns. We focus on applying the methodology to verify the system architecture concern, presenting formal reasoning to validate the methodology's correctness and applicability for this concern. Additional concerns such as security policy implementation are considered. Future directions are established to extend and evaluate the methodology.
Problem

Research questions and friction points this paper is trying to address.

Formal verification of microservice system architecture correctness
Detecting incompatible implementations in decentralized microservice development
Extensible methodology for verifying cross-cutting concerns like security
Innovation

Methods, ideas, or system contributions that make the work stand out.

Static reconstruction of source code into formal model
Deriving SMT constraint set for formal verification
Extensible methodology supporting multiple verification concerns
🔎 Similar Papers
No similar papers found.
C
Connor Wojtak
Electrical and Computer Engineering, University of Arizona, Tucson, Arizona, USA
D
Darek Gajewski
Electrical and Computer Engineering, University of Arizona, Tucson, Arizona, USA
Tomas Cerny
Tomas Cerny
University of Arizona
Software EngineeringCode-analysisMicroservicesAspect-oriented programming