I am a long-time citizen of the Gemini Protocol and in that arena we use CGI and SCGI to serve dynamic content (gasp I know, but we embrace it - check the link). I created a SCGI server in Racket to serve a basic client/server text-based dice game in Gemini (also written in Racket), but now I wanted to use Racket for CGI for a different project (comment system). For reference, we're talking maybe dozens of users here, not hundreds or thousands. Here are my questions:
- Compiling racket programs create rather large executables that are not ideal for repetitive execution via CGI (hence I made a SCGI server). Can Racket scripts fill this role, or are they slow in this regard?
- If the answer to the above is "no" should I pick a different language for efficient CGI scripts? I've used Go in the past because I can get the file size down, but I'd like to stick with Racket.
Any suggestions are appreciated.