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.
Scaling PostgreSQL to power 800 million ChatGPT users
By Bohan Zhang, Member of the Technical Staff
tonybaloney.github.io
Python has had async for 10 years -- why isn’t it more popular?
A deep-dive into the challenges and misconceptions surrounding async programming in Python
hono.dev
Web framework built on Web Standards
Hono is a small, simple, and ultrafast web framework built on Web Standards. It works on Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Netlif...