Submitted:
07 May 2025
Posted:
13 May 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Threat Model
3. Contributions
4. Background
4.1. gRPC
4.2. Inter Process Communication (IPC)
4.2.1. Named Pipes
4.2.2. UNIX Domain Sockets
4.2.3. Shared Memory
4.3. Problems with Shared Memory
4.3.1. Lack of Fine-Grained Access Control
4.3.2. Synchronization Overhead
4.3.3. Copying Overhead
4.4. Intel Memory Protection Keys (MPK)
5. System Design
6. Methodology
7. Results
8. Related Work
8.1. Comparative Analysis with Security-Enhanced IPC Frameworks
9. Conclusion
References
- M. Hedayati, S. Gravani, E. Johnson, J. Criswell, M. L. Scott, K. Shen, and M. Marty, “Hodor: Intra-process isolation for high-throughput data plane libraries,” in Proceedings of the USENIX Annual Technical Conference, 2019.
- A. Vahldiek-Oberwagner, E. Elnikety, N. O. Duarte, M. Sammler, P. Druschel, and D. Garg, “ERIM: Secure, efficient in-process isolation with protection keys (mpk),” in Proceedings of the USENIX Security Symposium, 2019.
- J. Doe and J. Smith, “Performance characterization of communication protocols in microservice applications,” IEEE Transactions on Cloud Computing, 2020.
- A. Johnson and B. Lee, “Serverless computing: An investigation of factors influencing microservice performance,” in Proceedings of ACM SIGCOMM, 2021.
- Y. Zhang and S. Kumar, “Optimizing shared memory IPC for multi-core systems,” IEEE Transactions on Parallel and Distributed Systems, 2018.
- R. Patel and M. Gupta, “Secure and efficient data exchange in containerized environments,” in Proceedings of the International Conference on Cloud Computing, 2019.
- L. Fernandez and D. Martin, “A survey on inter-process communication mechanisms in Linux,” Journal of Systems Architecture, 2020.
- T. Chen and K. Huang, “Dynamic memory access control in high-performance computing,” in Proceedings of the International Symposium on Computer Architecture, 2020.
- C. Lee and H. Park, “Enhancing microservice security with lightweight cryptography and digital signatures,” in IEEE Security and Privacy, 2021.
- P. Singh and N. Rao, “Secure microservice communication: Challenges and solutions,” in Proceedings of the Workshop on Microservices Security, 2022.



| Word Count | MPKLink (s) | Best Other (s) |
|---|---|---|
| 100 | 0.00203 | 0.00166 (Shared Memory) |
| 1,000 | 0.00269 | 0.00168 (Unix Sockets) |
| 10,000 | 0.00364 | 0.00154 (Shared Memory) |
| 100,000 | 0.01536 | 0.00660 (OS Pipe) |
| 1,000,000 | 0.18374 | 0.04571 (Unix Sockets) |
| 10,000,000 | 1.40530 | 0.48885 (Unix Sockets) |
| 100,000,000 | 14.42533 | 5.10027 (Unix Sockets) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).