|国家预印本平台
首页|Automatic Design-Time Detection of Anomalies in Migrating Monolithic Applications to Microservices

Automatic Design-Time Detection of Anomalies in Migrating Monolithic Applications to Microservices

Automatic Design-Time Detection of Anomalies in Migrating Monolithic Applications to Microservices

来源:Arxiv_logoArxiv
英文摘要

The advent of microservices has led multiple companies to migrate their monolithic systems to this new architecture. When decomposing a monolith, a functionality previously implemented as a transaction may need to be implemented as a set of independent sub-transactions, possibly executed by multiple microservices. The concurrent execution of decomposed functionalities may interleave in ways that were impossible in the monolith, paving the way for anomalies to emerge. The anomalies that may occur critically depend on how the monolith is decomposed. The ability to assess, at design time, the anomalies that different decompositions may generate is key to guide the programmers in finding the most appropriate decomposition that matches their goals. This paper introduces MAD, the first framework for automatically detecting anomalies that are introduced by a given decomposition of a monolith into microservices. MAD operates by encoding non-serializable executions of the original functionalities as an SMT formula and then using a solver to find satisfiable assignments that capture the anomalous interleavings made possible by that specific decomposition. We have applied MAD to different benchmarks and show that it can identify precisely the causes of potential anomalous behavior for different decompositions.

Valentim Rom?o、Rafael Soares、Luís Rodrigues、Vasco Manquinho

计算技术、计算机技术

Valentim Rom?o,Rafael Soares,Luís Rodrigues,Vasco Manquinho.Automatic Design-Time Detection of Anomalies in Migrating Monolithic Applications to Microservices[EB/OL].(2025-05-23)[2025-06-06].https://arxiv.org/abs/2505.17927.点此复制

评论