Optimizing Intra-Container Communication with Memory Protection Keys: A Novel Approach to Secure and Efficient Microservice Interaction
Fnu Yashu, Shubham Malhotra, Muhammad Saqib

TL;DR
This paper presents MPKLink, a novel method using Intel Memory Protection Keys to optimize intra-container microservice communication, reducing latency and resource use while maintaining security.
Contribution
Introducing MPKLink, a new approach that leverages MPK for secure, efficient intra-container communication in microservices, outperforming traditional networking protocols.
Findings
MPKLink reduces communication latency significantly.
It lowers resource consumption compared to REST and gRPC.
The method integrates seamlessly with container platforms.
Abstract
In modern cloud-native applications, microservices are commonly deployed in containerized environments to ensure scalability and flexibility. However, inter-process communication (IPC) between co-located microservices often suffers from significant overhead, especially when traditional networking protocols are employed within containers. This paper introduces a novel approach, MPKLink, leveraging Intel Memory Protection Keys (MPK) to enhance intra-container communication efficiency while ensuring security. By utilizing shared memory with MPK-based access control, we eliminate unnecessary networking latencies, leading to reduced resource consumption and faster response times. We present a comprehensive evaluation of MPKLink, demonstrating its superior performance over conventional methods such as REST and gRPC within microservice architectures. Furthermore, we explore the integration of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
