云边连续体中微服务部署优化:基于应用与基于服务的方法对比分析
Optimizing Microservices Placement in the Cloud-to-Edge Continuum: A Comparative Analysis of App and Service Based Approaches
AI总结:
本文针对云边连续体中微服务部署优化以降低延迟的问题,对比基于应用和基于服务的两种部署方法及四种算法,通过YAFS模拟验证了基于服务的方法在延迟和负载均衡上更优或相当,为高效部署提供了见解。
摘要:
在不断演进的计算领域,边缘和雾计算的出现通过将数据处理靠近终端用户彻底革新了数据处理方式。尽管云计算具有移动性、灵活性和可扩展性等诸多优势,但也带来了延迟等挑战。雾计算和边缘计算作为互补解决方案应运而生,弥合了这一差距并增强了服务与用户的接近性。本文解决的关键挑战是优化应用微服务的部署以最小化云边连续体中的延迟,其中节点的正确选择可能影响应用性能。因此,由于从单体架构向微服务架构的范式转变,这项任务的复杂性增加。基于链路延迟、节点资源和网关接近度等标准,通过四种不同的部署算法对两种不同的部署方法(基于应用和基于服务)进行了对比。基于应用的方法按顺序分配一个应用的所有服务,而基于服务的方法每次分配每个应用的一个服务。使用YAFS(Yet Another Fog Simulator,又一个雾模拟器)进行的研究评估了这些方法对延迟和负载均衡的影响。研究结果一致证实了假设:与基于应用的方法相比,采用基于服务的方法的策略表现更优或相当,为云边环境中高效微服务部署背景下算法和每种方法之间的权衡和性能差异提供了有价值的见解。
英文摘要:
In the ever-evolving landscape of computing, the advent of edge and fog computing has revolutionized data processing by bringing it closer to end-users. While cloud computing offers numerous advantages, including mobility, flexibility and scalability, it introduces challenges such as latency. Fog and edge computing emerge as complementary solutions, bridging the gap and enhancing services' proximity to users. The pivotal challenge addressed in this paper revolves around optimizing the placement of application microservices to minimize latency in the cloud-to-edge continuum, where a proper node selection may influence the app's performance. Therefore, this task gains complexity due to the paradigm shift from monolithic to microservices-based architectures. Two distinct placement approaches, app-based and service-based, are compared through four different placement algorithms based on criteria such as link latency, node resources, and gateway proximity. App-based allocates all the services of one app sequentially, while service-based allocates one service of each app at a time. The study, conducted using YAFS (Yet Another Fog Simulator), evaluates the impact of these approaches on latency and load balance. The findings consistently confirm the hypothesis that strategies utilizing a service-based approach outperformed or performed equally well compared to app-based approaches, offering valuable insights into trade-offs and performance differences among the algorithms and each approach in the context of efficient microservices placement in cloud-to-edge environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。