SafeNom: Data-Aware Microservice Policies
Abstract
Many cloud-based applications are organized as loosely coupled microservices, where invoking a service's API triggers a cascade of APIs across many services and leads to inter-service exchange of API parameters and output responses. Current tools for monitoring microservice safety properties have limited expressiveness for properties that describe the flow of data through API calls. To this end, we present SafeNom, a specification and monitoring framework for microservices based on nominal languages. SafeNom policies can express both the desired order of API calls and how the data carried in requests and responses should or should not flow between the APIs. Policies are enforced using a nominal automaton-based distributed runtime monitor which can be applied in a blackbox and non-invasive manner, without access to the service implementation and without making changes to the service implementation. Our experiments show that our monitor can efficiently enforce rich data-aware properties while incurring minimal latency overhead, on the order of a few milliseconds.
Create a lesson
Metadata
- Categories
- cs.PL, cs.NI
- Comments
- 27 pages, 5 figures
Related papers
Increasing the Precision of IR Mapping for Incremental Data Flow Analysis
Shared title terminologycs.PLAnushri Jana, Kush Goradiya, Uday P Khedker
Sightline: Calibrated Data-Flow Summaries for LLM-Integrated Applications
Shared title terminologycs.PLZihao Xu, Yuekang Li, Ruitao Feng et al.
Composable Rewrites for Layouts of Algebraic Data Types
Shared title terminologycs.PLChristophe Gyurgyik, Alexander J Root, Benjamin Driscoll et al.
MLIRBench - A Benchmark and Dataset for Compiler and Hardware-Aware Reasoning
Shared title terminologycs.PLPranava Sai Maganti, Meghasyam Peddireddy, Muzakker Hossain et al.
Nothing Is Shared Until You Synchronise: Reinterpreting Java for Data-Race Freedom
Shared title terminologycs.PLLuke Cheeseman, Elias Castegren, David Black-Schaffer et al.
GUARDTs: Decentralized Access Control for Replicated Data Types
Shared title terminologycs.PLChristian Kuessner, Ragnar Mogk, Julian Haas et al.