arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.02122cs.DC
收藏

uqSim:可扩展和验证的云微服务模拟

uqSim: Scalable and Validated Simulation of Cloud Microservices

Yanqi Zhang, Yu Gan, Christina Delimitrou

摘要:

当前的云服务正在从单片设计转向许多松散耦合的单一关注微服务的图形。微服务有几个优点,包括加快开发和部署,允许软件基础设施的专业化,以及帮助调试和错误隔离。与此同时,它们也带来了一些硬件和软件方面的挑战。考虑到微服务的大部分性能和效率影响发生在比生产部署之外可用的规模更大的规模上,研究这种影响需要设计正确的模拟基础设施。我们提出了uqSim,一个可扩展和验证的嵌入式网络模拟器,专门为交互式微服务设计。uqSim提供了详细的微服务内和微服务间模型,使其能够忠实地再现复杂的多层应用程序的行为。uqSim也是模块化的,允许在微服务和端到端应用程序中重用各个模型。我们已经针对简单和更复杂的微服务图对uqSim进行了验证,并表明它可以准确地捕获吞吐量和尾部延迟方面的性能。最后,我们使用uqSim对请求扇出的规模效应以及延迟敏感型微服务中电源管理的性能影响进行建模。

英文摘要:

Current cloud services are moving away from monolithic designs and towards graphs of many loosely-coupled, single-concerned microservices. Microservices have several advantages, including speeding up development and deployment, allowing specialization of the software infrastructure, and helping with debugging and error isolation. At the same time they introduce several hardware and software challenges. Given that most of the performance and efficiency implications of microservices happen at scales larger than what is available outside production deployments, studying such effects requires designing the right simulation infrastructures. We present uqSim, a scalable and validated queueing network simulator designed specifically for interactive microservices. uqSim provides detailed intra- and inter-microservice models that allow it to faithfully reproduce the behavior of complex, many-tier applications. uqSim is also modular, allowing reuse of individual models across microservices and end-to-end applications. We have validated uqSim both against simple and more complex microservices graphs, and have shown that it accurately captures performance in terms of throughput and tail latency. Finally, we use uqSim to model the tail at scale effects of request fanout, and the performance impact of power management in latency-sensitive microservices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑