REACT:通过高效的进程间通信实现分布式移动微服务执行
REACT: Distributed Mobile Microservice Execution Enabled by Efficient Inter-Process Communication
摘要:
增加的移动连接性、网络中各种计算环境中可用的服务的范围和数量要求移动应用高度动态,以便能够有效地将这些服务与移动设备上的其他本地能力一起合并到应用中。然而,如今移动应用组件的整体结构和大部分静态配置限制了应用动态管理内部组件、能够适应用户和环境以及利用网络中的各种服务来改善应用体验的能力。在本文中,我们介绍了REACT,这是一个新的基于Android的框架,允许将应用程序开发为松耦合微服务(MS)的集合。它允许基于上下文变化由网络中的服务执行MS的单独分发、动态管理和卸载。REACT旨在提供i)一个框架,作为Android库,用于创建适应上下文变化的基于MS的应用程序ii)一个统一的基于HTTP的通信机制,使用Android进程间通信(IPC)在本地运行的MS之间传输请求,同时允许在卸载时在网络和IPC请求之间进行灵活和透明的切换。我们通过实现一个视频流应用程序来评估REACT,该应用程序动态地将MS卸载到网络中的Web服务,以适应上下文的变化。评估表明,适应上下文的变化和降低功耗时卸载,而我们的通信机制克服了Android IPC的性能限制,使移动MS之间的大有效载荷的有效传输。
英文摘要:
The increased mobile connectivity, the range and number of services available in various computing environments in the network, demand mobile applications to be highly dynamic to be able to efficiently incorporate those services into applications, along with other local capabilities on mobile devices. However, the monolithic structure and mostly static configuration of mobile application components today limit application's ability to dynamically manage internal components, to be able to adapt to the user and the environment, and utilize various services in the network for improving the application experience. In this paper, we present REACT, a new Android-based framework that enables apps to be developed as a collection of loosely coupled microservices (MS). It allows individual distribution, dynamic management and offloading of MS to be executed by services in the network, based on contextual changes. REACT aims to provide i) a framework as an Android Library for creating MS-based apps that adapt to contextual changes ii) a unified HTTP-based communication mechanism, using Android Inter-Process Communication (IPC) for transporting requests between locally running MS, while allowing flexible and transparent switching between network and IPC requests, when offloading. We evaluate REACT by implementing a video streaming app that dynamically offloads MS to web services in the network, adapting to contextual changes. The evaluation shows the adaptability to contextual changes and reductions in power consumption when offloading, while our communication mechanism overcomes performance limitations of Android IPC by enabling efficient transferring of large payloads between mobile MS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。