首页> 外文会议>IEEE International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems >Microservice-Tailored Generation of Session-Based Workload Models for Representative Load Testing
【24h】

Microservice-Tailored Generation of Session-Based Workload Models for Representative Load Testing

机译:基于微服务的基于会话的工作量模型生成,用于代表性的负载测试

获取原文

摘要

Load tests are commonly used to assess the performance of an application system. A representative load test uses workload characteristics according to the user behavior in production. Session-based systems have special workload characteristics as the system is used as sequences of inter-related requests. Approaches exist to automatically extract session-based workload models from production request logs. However, they focus on system-level testing, which is in stark contrast with modern development practices, where one development team is in charge of developing, testing, and deploying a single microservice. Hence, representative session-based workload models for testing single microservices and their integration are desirable. To deal with these issues, we propose a concept for tailoring a representative load test workload to target only certain services, instead of targeting the whole system. Our goal is to transform the workload for one or more specified service(s) from the system-level workload collected in production. Using this approach, only a subset of the application's microservices is deployed for a load test, specifically the targeted services and the services they depend on. We propose two algorithms. The log-based algorithm deals with extracting the workload for a specific service from collected production traces. The model-based algorithm performs the workload tailoring on the level of the workload model. In an experiment series with a representative microservice application, we compare both algorithms with system-level and request-based workoad models. The results show that when load testing a set of services, the tailored workload models outperform untailored workload models in terms of test duration and the capacity of the test infrastructure, and outperform request-based workload models in terms of representativeness.
机译:负载测试通常用于评估应用程序系统的性能。代表性的负载测试根据生产中的用户行为使用工作负载特征。基于会话的系统具有特殊的工作负载特征,因为该系统用作相互关联的请求的序列。存在从生产请求日志中自动提取基于会话的工作量模型的方法。但是,他们专注于系统级测试,这与现代开发实践形成鲜明对比,在现代开发实践中,一个开发团队负责开发,测试和部署单个微服务。因此,需要有代表性的基于会话的工作负载模型来测试单个微服务及其集成。为了解决这些问题,我们提出了一种概念,该概念用于定制代表性的负载测试工作负载,使其仅针对某些服务,而不是针对整个系统。我们的目标是从生产中收集的系统级工作负荷转换一种或多种指定服务的工作负荷。使用这种方法,仅将应用程序微服务的一个子集部署到负载测试中,尤其是目标服务及其所依赖的服务。我们提出两种算法。基于日志的算法负责从收集的生产跟踪中提取特定服务的工作量。基于模型的算法在工作负载模型的级别上执行工作负载定制。在具有代表性微服务应用程序的实验系列中,我们将这两种算法与系统级和基于请求的工作模型进行了比较。结果表明,在对一组服务进行负载测试时,量身定制的工作量模型在测试持续时间和测试基础结构的容量方面胜过非定制的工作量模型,而在代表性方面则胜过基于请求的工作量模型。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号