Get the latest tech news

Serving a half billion requests per day with Rust and CGI


In my previous post Serving 200 million requests per day with a cgi-bin, I did some quick performance testing of CGI using a program written in Go. Go works excellently for CGI programs, for many of the same reasons it works so well for CLI programs and system daemons. But, out of curiosity, I decided to do a bit more CGI testing with other languages. CGI is good technology, actually There’s a misconception that because CGI is old or because many CGI scripts had security vulnerabilities, CGI itself is somehow insecure or bad.

The common alternatives to CGI, FastCGI and reverse proxies, aren’t a free lunch and have their own security complications. I miss “my” beautiful servers but they’re in good hands and at least I can still post to them and visualize the disk and network IO and CPU usage, which isn’t creepy to do, it’s actually perfectly normal. — Jake Gold (@jacob.gold) November 12, 2024 at 8:11 PM Benchmarking of any kind is fraught, and it’s easy to make mistakes, which is why there’s no substitute for real-world testing in your own environment.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Day

Day

Photo of Rust

Rust

Photo of requests

requests

Related news:

News photo

Rules of good writing (2007)

News photo

Best Amazon Prime Day 2025 deals: Our top picks on headphones, TVs, robot vacuums and more

News photo

I wear these running earbuds every day, and they're 30% off for Prime Day