Abstract
Cloud-native microservice applications use different communication paradigms to network microservices, including both synchronous and asynchronous I/O for exchanging data. Existing solutions depend on kernel-based networking, incurring significant overheads. The interdependence between microservices for these applications involves considerable communication, including contention between multiple concurrent flows or user sessions. In this paper, we design X-IO, a high-performance unified I/O interface that is built on top of shared memory processing with lock-free producer/consumer rings, eliminating kernel networking overheads and contention. X-IO offers a feature-rich interface. X-IO's zero-copy interface supports building provides truly zero-copy data transfers between microservices, achieving high performance. X-IO also provides a POSIX-like socket interface using HTTP/REST API to achieve seamless porting of microservices to X-IO, without any change to the application code. X-IO supports concurrent connections for microservices that require distinct user sessions operating in parallel. Our preliminary experimental results show that X-IO's zero-copy interfaces achieve 2.8x-4.1x performance improvement compared to kernel-based interfaces. Its socket interfaces outperform kernel TCP sockets and achieve performance close to UNIX-domain sockets. The HTTP/REST APIs in X-IO perform 1.4 x-2.3 x better than kernel-based alternatives with concurrent connections.
Original language | English |
---|---|
Title of host publication | 2023 IEEE 9th International Conference on Network Softwarization |
Subtitle of host publication | Boosting Future Networks through Advanced Softwarization, NetSoft 2023 - Proceedings |
Editors | Carlos J. Bernardos, Barbara Martini, Elisa Rojas, Fabio Luciano Verdi, Zuqing Zhu, Eiji Oki, Helge Parzyjegla |
Pages | 107-115 |
Number of pages | 9 |
ISBN (Electronic) | 9798350399806 |
DOIs | |
State | Published - 2023 |
Event | 9th IEEE International Conference on Network Softwarization, NetSoft 2023 - Madrid, Spain Duration: Jun 19 2023 → Jun 23 2023 |
Publication series
Name | 2023 IEEE 9th International Conference on Network Softwarization: Boosting Future Networks through Advanced Softwarization, NetSoft 2023 - Proceedings |
---|
Conference
Conference | 9th IEEE International Conference on Network Softwarization, NetSoft 2023 |
---|---|
Country/Territory | Spain |
City | Madrid |
Period | 6/19/23 → 6/23/23 |
Bibliographical note
Publisher Copyright:© 2023 IEEE.
Funding
ACKNOWLEDGMENT We thank the US NSF for their generous support through grant CRI-1823270. This work was also supported in part by the National Science and Technology Council of Taiwan under grant numbers 111-2221-E-A49-093-MY3, 111-2218-E-A49-023, and 111-3114-E-A49-001. We thank Poyi Lin of National Yang Ming Chiao Tung University, Taiwan, for his help in the implementation.
Funders | Funder number |
---|---|
National Science Foundation Arctic Social Science Program | CRI-1823270 |
National Science and Technology Council | 111-3114-E-A49-001, 111-2221-E-A49-093-MY3, 111-2218-E-A49-023 |
Keywords
- communication in service function chains
- DPDK
- shared memory
- unified I/O interface
ASJC Scopus subject areas
- Computer Networks and Communications
- Signal Processing
- Software