Gvisor - User space HTTP Server and Client

This post is a follow-up from previous post Gvisor - User space TCP Server and Client. In this post, we are going to build user space HTTP server and client on top of TCP server and client that we created in previous post. To take a look at complete code for this, refer - https://github.com/viveksb007/gvisor-experiment/blob/main/cmd/userspace-http/main.go Creating a Http Server We are using GoLang standard net/http package to build the HTTP server....

October 26, 2024 · 3 min · Vivek Bhadauria

Gvisor - User space TCP Server and Client

In this post, we will see how to create a simple TCP Server and TCP Client in user space network stack. Both server and client will be in the same network. To take a look at complete code for this, refer - https://github.com/viveksb007/gvisor-experiment/blob/main/cmd/userspace-tcpip/main.go Creating a Network stack In this section, we are creating a Network stack specifying which protocols it needs to support, assigning addresses to the network and adding default route table....

October 15, 2024 · 5 min · Vivek Bhadauria