This article explores how modern programming languages like Go and Rust have revitalized the performance of 90s-era CGI. By leveraging fast startup times and high-core-count CPUs, CGI can now handle massive workloads, such as 200 million requests per day, on modest hardware.
Highlights
CGI can achieve over 2,400 requests per second using Go and SQLite on a 16-thread CPU.
Modern languages like Go and Rust mitigate the startup overhead that previously made CGI inefficient compared to PHP or FastCGI.
The process-per-request model of CGI is highly effective at utilizing modern multi-core CPU architectures.
While not a standard recommendation for most, the experiment proves that legacy web technologies can be highly performant with contemporary tools.