This is the socket server running on GCP itself. It receives for congestion window update requests and update the CwndMap to the value recived. The updation happens using the bpftool map update
command.
We cannot update the map directly from the lsquic_cubic.patch
. This is because the command is slow and calling the command from the patch using system API would slow down packet processing (as seen in previous experimentation results).
Does the patch only sends the congestion window to the nodejs_server using socket connection. This also provides a sense of asynchronousity. This in future can be replaced with the use of threads in the patch itself. But for now this is done this way for the sack of quickness.
Also having a seperate server just for updating the congestion window