Popis: |
The emerging applications and networks are putting forward more and more demands for bi-directional awareness between applications and networks, and how to integrate applications and networks has been studied a lot in recent years. In this paper, we observe that socket is the waist between applications and networks, thus we explore the possibility of integrating applications and networks at the socket layer for the first time ever. We implement a first-ever socket level network-application integration framework Socker based on eBPF. By associating sockets with network control functions, programmers can realize flexible routing control based on the application logic, as well as dynamic application logic adjustment based on the network states. In our preliminary evaluation setting, the result shows that the application built on Socker achieves 28.5% request time reduction compared with the traditional socket based implementation on average. |