RPCover: Recovering gRPC Dependency in Multilingual Projects
Authors:
- 11 September 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1930-1939
Abstract
The advent of microservice architecture has led to a significant shift in the development of service-oriented software. In particular, the use of Remote Procedure Call (RPC), a mode of Inter-Process Communication (IPC) prevalent in microservices, has noticeably increased. To figure out the relationships between services and obtain a high-level understanding of service-oriented software, a line of recent work focuses on the dynamic construction of service call graphs, which relies on the preliminary deployment of services and only captures the calling relationships within a specific time frame. Meanwhile, static methods avoid the need for pre-deployment and often provide a more stable and complete graph compared to dynamic techniques. However, research and practical applications of static call graph construction remain relatively unexplored. This paper introduces RPCover, a novel gRPC dependency recovery framework that facilitates the interconnection of services across various programming languages using their static gRPC calls. In addition, due to the lack of a multilingual microservice benchmark that uses gRPC, we build the first multilingual benchmark RPCoverBench that contains complex gRPC call relations. RPCover has been evaluated on a single language benchmark (DeathStarBench) and our multilingual benchmark (RPCoverBench). The results show that RPCover effectively recovers 99.33% of the use cases of gRPC calls with less than 200% of the overhead compared with a single-language semantic dependency analyzer.Keywords
Funding Information
- National Natural Science Foundation of China (62102340)
This publication has 26 references indexed in Scilit:
- MicroservicesIEEE Software, 2018
- An Approach to Extract the Architecture of Microservice-Based Software Systems2018
- Microservices: Yesterday, Today, and Tomorrow2017
- A Systematic Literature Review on Microservices2017
- Towards Recovering the Software Architecture of Microservice-Based Systems2017
- A Systematic Mapping Study in Microservice Architecture2016
- Architectural Run-time Models for Performance and Privacy Analysis in Dynamic Cloud ApplicationsACM SIGMETRICS Performance Evaluation Review, 2016
- The WyCash portfolio management system1992
- Lightweight remote procedure call1989
- Implementing Remote procedure calls1983