OpenDC 微服务模拟器:设计、实现与实验
The OpenDC Microservice Simulator: Design, Implementation, and Experimentation
AI总结:
本文设计并实现基于参考架构的 OpenDC 微服务模拟器,利用统计模型生成工作负载,支持并发、请求深度及多种调度策略,并通过实验验证其评估能力。
摘要:
微服务是一种架构风格,它将应用程序构造为一组松耦合服务,使开发者能够轻松构建和扩展其应用程序。微服务架构方法不同于将软件开发视为单一实体的传统单体风格。微服务架构正得到越来越多的采用。然而,由于微服务之间存在依赖关系,微服务系统可能十分复杂,从而导致大规模场景下性能不可预测。仿真是一种廉价且快速的方式,可用于更细致地研究微服务性能。本研究旨在构建一个微服务模拟器,用于评估和比较基于微服务的应用程序。文中设计了微服务参考架构,并将该架构用作模拟器的基础。模拟器实现使用统计模型生成工作负载。为模拟器添加的突出特性包括微服务并发执行、可配置的请求深度、三种负载均衡策略以及四种请求执行顺序策略。本文包含两个实验以展示模拟器的用法。第一个实验涵盖微服务实例上的请求执行顺序策略。第二个实验比较跨微服务实例的负载均衡策略。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。