The post compares the performance of Rust and Go using the Hyper HTTP server library with the Tokyo asynchronous runtime. Tests were conducted on AWS infrastructure, measuring latency, throughput, CPU, and memory usage. Rust outperformed Go in throughput, latency, and CPU efficiency, reaching almost 160,000 requests per second with just two CPUs.
•3m watch time
Sort: