Serving 200M requests per day with a CGI-bin
10 months ago
- #Performance
- #Web Development
- #CGI
- Jake Gold tests CGI performance with Go + SQLite on a 16-thread AMD 3700X.
- CGI can serve 2400+ requests per second or 200M+ requests per day on modest hardware.
- CGI starts, executes, and terminates a process for every request, which was considered inefficient in the 90s.
- Modern languages like Go and Rust make CGI-style requests more effective due to faster startup speeds.
- CGI programs excel at utilizing multiple CPU cores, making them suitable for today's multi-core servers.
- Jake suggests revisiting CGI-style web applications with modern languages like Go and Rust.