The user space network stack is to provide low latency and large throughput network transfer capability for critical circumstances such as High Frequent Stock Exchange、Large scale computing and Market Maker(which needs Ultra low latency network lane to buy or sell BTC) etc. The main method to achieve the goal is by using bypass-kernel technology and user defined credit control algorithm,zero-copy,Software UDP-based/RDMA-based/DPDK-based package transfer,pipe-lined design and so on.
Now we are in stage 1.
Package transforming framework(PTF) is used to abstract the underline network transfer capabilities.
In main.c we have server and client that can do high frequency network transfer and count the latency and throughput.