High Performance Userspace Networking for Containerized Microservices.

Xiaohui Luo,Fengyuan Ren,Tong Zhang
DOI: https://doi.org/10.1007/978-3-030-03596-9_4
2018-01-01
Abstract:Containerized microservices have become popular for building systems using simple, lightweight, loosely coupled services. Due to replacing the monolithic application with multiple microservices, inner function calls become inter-microservice communications, which increases the network pressure. However, the networking of containerized microservice built on the kernel that is inefficient. In this paper, we propose DockNet, a high-performance userspace networking solution for containerized microservices. We (1) leverage DPDK and customized LwIP as the high-performance data plane and TCP/IP stack, respectively. (2) introduce a master-slave threading model to decouple execution and management. (3) adopt namespace mechanism to control the access of microservices to data planes and employ timer-based rate limiters to achieve performance isolation. (4) construct fast channels between partner microservices to improve network performance further. In our various experiments, DockNet shows over (4.2times , 4.3times , 5.5times ) of higher performance compared with existing networking solutions - kernel bridge, Open vSwitch and SR-IOV, respectively.
What problem does this paper attempt to address?