Serving a half billion requests per day with Rust and CGI
1–10 of 118 posts
Re: Serving a half billion requests per day with Rust and CGI
#2Re: Serving a half billion requests per day with Rust and CGI
#3Re: Serving a half billion requests per day with Rust and CGI
#4Re: Serving a half billion requests per day with Rust and CGI
#5Re: Serving a half billion requests per day with Rust and CGI
#6I really like the code that accompanies this as an example of how to build the same SQLite powered guestbook across Bash, Python, Perl, Rust, Go, JavaScript and C: https://github.com/Jacob2161/cgi-bin
Re: Serving a half billion requests per day with Rust and CGI
#7How meaningful is “per day” as a performance metric?
Re: Serving a half billion requests per day with Rust and CGI
#8Plus, honestly, even if you are relatively careful and configure everything perfectly correct, having the web server execute stuff in a specific folder inside the document root just seems like a recipe for problems.
Re: Serving a half billion requests per day with Rust and CGI
#9Honestly, I'm just trying to understand why people want to return to CGI. It's cool that you can fork+exec 5000 times per second, but if you don't have to, isn't that significantly better? Plus, with FastCGI, it's trivial to have separate privileges for the application server and the webserver. The CGI model may still work fine, but it is an outdated execution model that we left behind for more than one reason, not j…
Re: Serving a half billion requests per day with Rust and CGI
#10How meaningful is “per day” as a performance metric?
Not at all, it may be a useful marketing metric, but not a performance one. The average load does not matter when your backend can't handle the peaks.