Harnessing 3200Gbps Network (13): State Sharding

In the previous chapter, we bound CPU cores for the multi-threaded version, which boosted the transmission speed to 1237.738 Gbps. Unfortunately, this still only reached 38.7% of the total 3200 Gbps bandwidth. Clearly, the CPU remains a bottleneck, and we need to optimize further. Looking back at our process of converting the program from single-threaded to multi-threaded, we changed some…