Benchmarking Microservice Systems for Software Engineering Research 阅读笔记
[[TOC]]
PDF path:/home/ljw/Nutstore Files/Nutstore/Anhui University/Microservice
INTRODUCTION
关于微服务的研究有限,部分原因是缺乏反映产业特点的基准体系微服务系统。本文研究了现有系统和工业微服务系统之间的差距基准系统。 基于根据差距分析的结果,我们然后开发并发布一个微服务架构的中型基准系统。
根据文献调查目前存在的开源可利用的微服务系统只包含五个微服务,复旦大学开发了一个叫TrainTicket的微服务系统,包含了24个微服务。
之前的微服务系统主要存在以下3个问题:
- Incomplete Interaction Modes
- Insufficient Scale and Complexity
- Insufficient Application of Microservice Design Principles.
BENCHMARK SYSTEM
TrainTicket:火车订票系统包括24个微服务,划分为5层。microservice A sends a request to microservice B, we say that A depends on B。底层不依赖于任何微服务,上一层的微服务依赖于较低层的微服务。
The system is implemented in Java and Node.js, and the current implementation has 61,136 lines of code. In total, we develop 37 unit test cases and 14 integration test cases with 5,218 lines of test code