DMSA: A Decentralized Microservice Architecture for Edge Networks
Journal:
arXiv
Published Date:
Jan 1, 2025
Abstract
The dispersed node locations and complex topologies of edge networks,
combined with intricate dynamic microservice dependencies, render traditional
centralized microservice architectures (MSAs) unsuitable. In this paper, we
propose a decentralized microservice architecture (DMSA), which delegates
scheduling functions from the control plane to edge nodes. DMSA redesigns and
implements three core modules of microservice discovery, monitoring, and
scheduling for edge networks to achieve precise awareness of instance
deployments, low monitoring overhead and measurement errors, and accurate
dynamic scheduling, respectively. Particularly, DMSA has customized a
microservice scheduling scheme that leverages multi-port listening and
zero-copy forwarding to guarantee high data forwarding efficiency. Moreover, a
dynamic weighted multi-level load balancing algorithm is proposed to adjust
scheduling dynamically with consideration of reliability, priority, and
response delay. Finally, we have implemented a physical verification platform
for DMSA. Extensive empirical results demonstrate that compared to
state-of-the-art and traditional scheduling schemes, DMSA effectively
counteracts link failures and network fluctuations, improving the service
response delay and execution success rate by approximately $60\% \sim 75\%$ and
$10\%\sim15\%$, respectively.