Metraipolis › archive › dc_780c674b36e8
SafePar: Monitoring Asynchrony in Microservices — arXiv:2609.33081
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.33081
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T23:02:26.359Z
- SHA-256 of the archived text
d51bbedd9adde6dc9149a7e48401c58d22dfe64d087f143a2bb8a75adaa955f9- Stable URL of this page
https://metraipolis.com/documento/dc_780c674b36e8
How to cite
SafePar: Monitoring Asynchrony in Microservices — arXiv:2609.33081 — arXiv (en), https://arxiv.org/abs/2609.33081 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_780c674b36e8 (Metraipolis archive dc_780c674b36e8, sha256 d51bbedd9adde6dc9149a7e48401c58d22dfe64d087f143a2bb8a75adaa955f9)
BibTeX
@misc{dc780c674b36e8,
title = {SafePar: Monitoring Asynchrony in Microservices — arXiv:2609.33081},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.33081},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_780c674b36e8; sha256 d51bbedd9adde6dc9149a7e48401c58d22dfe64d087f143a2bb8a75adaa955f9},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.33081. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Modern cloud applications are built from loosely-coupled microservices that coordinate through well-defined APIs to service user requests. A single API request often triggers multiple downstream API calls, some executed sequentially and others spawned asynchronously in parallel. To certify safe and secure inter-service interactions in such applications, security and compliance teams must enforce policies not only over nested call/return structure, but also over the parallel structure of an execution: which calls may run concurrently, how many parallel branches can be spawned, and what combination of branch outcomes are allowed. However, existing runtime enforcement mechanisms typically model executions as sequential or purely nested traces, and cannot capture the parallel structure introduced by asynchronous API calls. Furthermore, since application implementations may not be accessible to security and compliance teams, the policy enforcement mechanism should be decoupled from the service implementation. We introduce SafePar, a specification and monitoring framework for policies over concurrent microservice executions. A SafePar policy constrains both the order of API calls and their series-parallel structure. To support seamless deployments, each policy is compiled into a series-parallel visibly pushdown automaton, a new model of computation we propose in this work, that drives a distributed runtime monitor implemented on top of the servicemesh layer. Our technique is blackbox and non-invasive: it requires no access or changes to the service implementation. Our experiments show that SafePar enforces rich concurrency-aware policies while incurring only millisecond-scale latency overhead. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-29 in cs.NI). Categorie arXiv: Programming Languages (cs.PL) ; Formal Languages and Automata Theory (cs.FL); Networking and Internet Architecture (cs.NI). Pagina del lavoro: https://arxiv.org/abs/2609.33081 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T22:39:52.990Z dalla pagina https://arxiv.org/catchup/cs.NI/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).