论文标题
OPENDC微服务模拟器:设计,实现和实验
The OpenDC Microservice Simulator: Design, Implementation, and Experimentation
论文作者
论文摘要
微服务是一种建筑风格,将应用程序作为一系列松散耦合服务的集合,使开发人员可以轻松构建和扩展其应用程序。微服务体系结构方法与将软件开发视为单个实体的传统单片风格不同。微服务架构变得越来越适应。但是,由于微服务之间的依赖性,微服务系统可能很复杂,从而导致大规模的不可预测性能。模拟是一种更详细地研究微服务的性能的便宜而快速的方法。这项研究旨在建立一个微服务模拟器,以评估和比较基于微服务的应用程序。设计了微服务参考体系结构。该体系结构用作模拟器的基础。模拟器实现使用统计模型来生成工作负载。添加到模拟器中的引人注目的功能包括同时执行微服务,可配置的请求深度,三个负载平衡策略和四个请求执行订单策略。本文包含两个实验以显示模拟器使用情况。第一个实验涵盖了MicroService实例的请求执行订单策略。第二个实验比较了微服务实例之间的负载平衡策略。
Microservices is an architectural style that structures an application as a collection of loosely coupled services, making it easy for developers to build and scale their applications. The microservices architecture approach differs from the traditional monolithic style of treating software development as a single entity. Microservice architecture is becoming more and more adapted. However, microservice systems can be complex due to dependencies between the microservices, resulting in unpredictable performance at a large scale. Simulation is a cheap and fast way to investigate the performance of microservices in more detail. This study aims to build a microservices simulator for evaluating and comparing microservices based applications. The microservices reference architecture is designed. The architecture is used as the basis for a simulator. The simulator implementation uses statistical models to generate the workload. The compelling features added to the simulator include concurrent execution of microservices, configurable request depth, three load-balancing policies and four request execution order policies. This paper contains two experiments to show the simulator usage. The first experiment covers request execution order policies at the microservice instance. The second experiment compares load balancing policies across microservice instances.